Package | Description |
---|---|
io.restassured.config | |
io.restassured.internal | |
io.restassured.internal.http | |
io.restassured.internal.mapping |
Modifier and Type | Method and Description |
---|---|
EncoderConfig |
EncoderConfig.and()
Syntactic sugar.
|
EncoderConfig |
EncoderConfig.appendDefaultContentCharsetToContentTypeIfUndefined(boolean shouldAddDefaultContentCharsetToContentTypeIfMissing)
Tells whether REST Assured should automatically append the content charset to the content-type header if not defined explicitly.
|
EncoderConfig |
EncoderConfig.defaultCharsetForContentType(Charset charset,
ContentType contentType)
Specify the default charset to use for the specific content-type if it's not specified in the content-type header explicitly
|
EncoderConfig |
EncoderConfig.defaultCharsetForContentType(Charset charset,
String contentType)
Specify the default charset to use for the specific content-type if it's not specified in the content-type header explicitly
|
EncoderConfig |
EncoderConfig.defaultCharsetForContentType(String charset,
ContentType contentType)
Specify the default charset to use for the specific content-type if it's not specified in the content-type header explicitly
|
EncoderConfig |
EncoderConfig.defaultCharsetForContentType(String charset,
String contentType)
Specify the default charset to use for the specific content-type if it's not specified in the content-type header explicitly
|
EncoderConfig |
EncoderConfig.defaultContentCharset(Charset charset)
Specify the default charset for the body/content in the request specification
|
EncoderConfig |
EncoderConfig.defaultContentCharset(String charset)
Specify the default charset for the body/content in the request specification
|
EncoderConfig |
EncoderConfig.defaultQueryParameterCharset(Charset charset)
Specify the default charset for query parameters
|
EncoderConfig |
EncoderConfig.defaultQueryParameterCharset(String charset)
Specify the default charset for query parameters
|
EncoderConfig |
EncoderConfig.encodeContentTypeAs(String contentType,
ContentType encoder)
Encodes the content (body) of the request specified with the given
contentType with the same
encoder used by the supplied encoder . |
static EncoderConfig |
EncoderConfig.encoderConfig() |
EncoderConfig |
RestAssuredConfig.getEncoderConfig() |
Modifier and Type | Method and Description |
---|---|
RestAssuredConfig |
RestAssuredConfig.encoderConfig(EncoderConfig encoderConfig)
Set the Encoder 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,
MatcherConfig matcherConfig,
HeaderConfig headerConfig,
MultiPartConfig multiPartConfig,
ParamConfig paramConfig,
OAuthConfig oAuthConfig,
FailureConfig failureConfig)
Create a new RestAssuredConfiguration with the supplied
RedirectConfig , HttpClientConfig , LogConfig ,
EncoderConfig , DecoderConfig , SessionConfig , ObjectMapperConfig , ConnectionConfig ,
JsonConfig , XmlConfig , SSLConfig ,
MatcherConfig , HeaderConfig , MultiPartConfig |
Modifier and Type | Method and Description |
---|---|
Object |
RequestSpecificationImpl.applyEncoderConfig(HTTPBuilder httpBuilder,
EncoderConfig encoderConfig) |
Modifier and Type | Method and Description |
---|---|
void |
EncoderRegistry.setEncoderConfig(EncoderConfig encoderConfig)
Set the encoder config
|
Constructor and Description |
---|
HTTPBuilder(boolean urlEncodingEnabled,
EncoderConfig encoderConfig,
DecoderConfig decoderConfig,
OAuthConfig oAuthConfig,
org.apache.http.impl.client.AbstractHttpClient client) |
HTTPBuilder(Object defaultURI,
boolean urlEncodingEnabled,
EncoderConfig encoderConfig,
DecoderConfig decoderConfig,
OAuthConfig oAuthConfig,
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,
OAuthConfig oAuthConfig,
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.
|
URIBuilder(URI uri,
boolean urlEncodingEnabled,
EncoderConfig config) |
Modifier and Type | Method and Description |
---|---|
static String |
ObjectMapping.serialize(Object object,
String contentType,
String charset,
ObjectMapperType mapperType,
ObjectMapperConfig config,
EncoderConfig encoderConfig) |
Copyright © 2010–2022. All rights reserved.