| Package | Description |
|---|---|
| com.jayway.restassured.config | |
| com.jayway.restassured.internal.http |
| Modifier and Type | Method and Description |
|---|---|
DecoderConfig |
DecoderConfig.and()
Syntactic sugar.
|
DecoderConfig |
DecoderConfig.contentDecoders(DecoderConfig.ContentDecoder contentDecoder,
DecoderConfig.ContentDecoder... additionalContentDecoders)
Specify the content decoders that will be presented to the server when making a request (using the
Accept-Encoding header). |
static DecoderConfig |
DecoderConfig.decoderConfig() |
DecoderConfig |
DecoderConfig.defaultContentCharset(String charset)
Specify the default charset of the content in the response that's assumed if no charset is explicitly specified in the response.
|
DecoderConfig |
RestAssuredConfig.getDecoderConfig() |
DecoderConfig |
DecoderConfig.noContentDecoders()
Specify that no content decoders should be used by REST Assured.
|
DecoderConfig |
DecoderConfig.useNoWrapForInflateDecoding(boolean nowrap)
If the parameter 'nowrap' is true then the ZLIB header and checksum fields will not be used.
|
DecoderConfig |
DecoderConfig.with()
Syntactic sugar.
|
| Modifier and Type | Method and Description |
|---|---|
RestAssuredConfig |
RestAssuredConfig.decoderConfig(DecoderConfig decoderConfig)
Set the Decoder config.
|
| Constructor and Description |
|---|
RestAssuredConfig(RedirectConfig redirectConfig,
HttpClientConfig httpClientConfig,
LogConfig logConfig,
EncoderConfig encoderConfig,
DecoderConfig decoderConfig,
SessionConfig sessionConfig,
ObjectMapperConfig objectMapperConfig,
ConnectionConfig connectionConfig,
JsonConfig jsonConfig,
XmlConfig xmlConfig,
SSLConfig sslConfig)
Create a new RestAssuredConfiguration with the supplied
RedirectConfig, HttpClientConfig, LogConfig,
EncoderConfig, DecoderConfig, SessionConfig, ObjectMapperConfig, and ConnectionConfig. |
| Constructor and Description |
|---|
ContentEncodingRegistry(DecoderConfig decoderConfig) |
HTTPBuilder(boolean urlEncodingEnabled,
EncoderConfig encoderConfig,
DecoderConfig decoderConfig,
org.apache.http.impl.client.AbstractHttpClient client) |
HTTPBuilder(Object defaultURI,
boolean urlEncodingEnabled,
EncoderConfig encoderConfig,
DecoderConfig decoderConfig,
org.apache.http.impl.client.AbstractHttpClient client)
Give a default URI to be used for all request methods that don't
explicitly take a URI parameter.
|
HTTPBuilder(Object defaultURI,
Object defaultContentType,
boolean urlEncodingEnabled,
EncoderConfig encoderConfig,
DecoderConfig decoderConfig,
org.apache.http.impl.client.AbstractHttpClient client)
Give a default URI to be used for all request methods that don't
explicitly take a URI parameter, and a default content-type to be used
for request encoding and response parsing.
|
Copyright © 2010–2014. All rights reserved.