| Package | Description |
|---|---|
| com.jayway.restassured.config | |
| com.jayway.restassured.internal.support |
| Modifier and Type | Method and Description |
|---|---|
ConnectionConfig |
ConnectionConfig.and()
Syntactic sugar.
|
ConnectionConfig |
ConnectionConfig.closeIdleConnectionsAfterEachResponse()
Close open connections after each response.
|
ConnectionConfig |
ConnectionConfig.closeIdleConnectionsAfterEachResponseAfter(ConnectionConfig.CloseIdleConnectionConfig closeIdleConnectionConfig)
Close open connections that have idled for the amount of time specified in this config after each response.
|
ConnectionConfig |
ConnectionConfig.closeIdleConnectionsAfterEachResponseAfter(long idleTime,
TimeUnit timeUnit)
Close open connections that have idled for the amount of time specified in this config after each response.
|
static ConnectionConfig |
ConnectionConfig.connectionConfig() |
ConnectionConfig |
ConnectionConfig.dontCloseIdleConnectionsAfterEachResponse()
Don't close idle connections after each request.
|
ConnectionConfig |
RestAssuredConfig.getConnectionConfig() |
| Modifier and Type | Method and Description |
|---|---|
RestAssuredConfig |
RestAssuredConfig.connectionConfig(ConnectionConfig connectionConfig)
Set the connection 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 |
|---|
CloseHTTPClientConnectionInputStreamWrapper(ConnectionConfig connectionConfig,
org.apache.http.conn.ClientConnectionManager connectionManager,
InputStream wrapped) |
Copyright © 2010–2014. All rights reserved.