| Package | Description |
|---|---|
| com.jayway.restassured.config |
| Modifier and Type | Method and Description |
|---|---|
HeaderConfig |
RestAssuredConfig.getHeaderConfig() |
static HeaderConfig |
HeaderConfig.headerConfig()
Syntactic sugar, same as calling
new . |
HeaderConfig |
HeaderConfig.mergeHeadersWithName(String headerName,
String... additionalHeaderNames)
Define headers that should be be merged instead of overwritten when adding headers or using request specifications.
|
HeaderConfig |
HeaderConfig.overwriteHeadersWithName(String headerName,
String... additionalHeaderNames)
Define headers that should be overwritten instead of merged adding headers or using request specifications.
|
| Modifier and Type | Method and Description |
|---|---|
RestAssuredConfig |
RestAssuredConfig.headerConfig(HeaderConfig headerConfig)
Set the Header 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)
Create a new RestAssuredConfiguration with the supplied
RedirectConfig, HttpClientConfig, LogConfig,
EncoderConfig, DecoderConfig, SessionConfig, ObjectMapperConfig, ConnectionConfig,
JsonConfig, XmlConfig, SSLConfig,
MatcherConfig. |
Copyright © 2010–2014. All rights reserved.