Package | Description |
---|---|
io.restassured.config | |
io.restassured.internal |
Modifier and Type | Method and Description |
---|---|
HttpClientConfig |
HttpClientConfig.addParams(Map<String,?> httpClientParams)
Add the given parameters to an already configured number of parameters.
|
HttpClientConfig |
HttpClientConfig.and() |
HttpClientConfig |
HttpClientConfig.dontReuseHttpClientInstance()
Instruct REST Assured not to reuse the configured http client instance for multiple requests.
|
HttpClientConfig |
RestAssuredConfig.getHttpClientConfig() |
static HttpClientConfig |
HttpClientConfig.httpClientConfig() |
HttpClientConfig |
HttpClientConfig.httpClientFactory(HttpClientConfig.HttpClientFactory httpClientFactory)
Set the http client factory that Rest Assured should use when making request.
|
HttpClientConfig |
HttpClientConfig.httpMultipartMode(org.apache.http.entity.mime.HttpMultipartMode httpMultipartMode)
Specify the HTTP Multipart mode when sending multi-part data.
|
HttpClientConfig |
HttpClientConfig.reuseHttpClientInstance()
Instruct REST Assured to reuse the configured http client instance for multiple requests.
|
<T> HttpClientConfig |
HttpClientConfig.setParam(String parameterName,
T parameterValue)
Set a http client parameter.
|
HttpClientConfig |
HttpClientConfig.setParams(Map<String,?> httpClientParams)
Replaces the currently configured parameters with the ones supplied by
httpClientParams . |
HttpClientConfig |
HttpClientConfig.withParams(Map<String,?> httpClientParams)
Replaces the currently configured parameters with the ones supplied by
httpClientParams . |
Modifier and Type | Method and Description |
---|---|
RestAssuredConfig |
RestAssuredConfig.httpClient(HttpClientConfig httpClientConfig)
Set the HTTP Client 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,
CsrfConfig csrfConfig)
Create a new RestAssuredConfiguration with the supplied
RedirectConfig , HttpClientConfig , LogConfig ,
EncoderConfig , DecoderConfig , SessionConfig , ObjectMapperConfig , ConnectionConfig ,
JsonConfig , XmlConfig , SSLConfig ,
MatcherConfig , HeaderConfig , MultiPartConfig , OAuthConfig , FailureConfig , CsrfConfig . |
Modifier and Type | Method and Description |
---|---|
Object |
RequestSpecificationImpl.applyHttpClientConfig(HttpClientConfig httpClientConfig) |
Copyright © 2010–2023. All rights reserved.