| Package | Description |
|---|---|
| com.jayway.restassured.authentication | |
| com.jayway.restassured.config |
| Modifier and Type | Method and Description |
|---|---|
LogConfig |
FormAuthConfig.getLogConfig() |
| Modifier and Type | Method and Description |
|---|---|
FormAuthConfig |
FormAuthConfig.withLoggingEnabled(LogConfig logConfig)
Enables logging with log level
LogDetail.ALL of the request made to authenticate using
form authentication using the specified LogConfig. |
FormAuthConfig |
FormAuthConfig.withLoggingEnabled(LogDetail logDetail,
LogConfig logConfig)
Enables logging with the supplied log detail of the request made to authenticate using form authentication using the
specified
LogConfig. |
| Modifier and Type | Method and Description |
|---|---|
LogConfig |
LogConfig.and()
Syntactic sugar.
|
LogConfig |
LogConfig.defaultStream(PrintStream printStream)
Specify a new default stream to the print to.
|
LogConfig |
LogConfig.enableLoggingOfRequestAndResponseIfValidationFails()
Enable logging of both the request and the response if REST Assureds test validation fails.
|
LogConfig |
LogConfig.enableLoggingOfRequestAndResponseIfValidationFails(LogDetail logDetail)
Enable logging of both the request and the response if REST Assureds test validation fails with the specified log detail
|
LogConfig |
LogConfig.enablePrettyPrinting(boolean shouldEnable)
Specify a whether or not to enable pretty printing by default.
|
LogConfig |
RestAssuredConfig.getLogConfig() |
static LogConfig |
LogConfig.logConfig() |
| Modifier and Type | Method and Description |
|---|---|
RestAssuredConfig |
RestAssuredConfig.logConfig(LogConfig logConfig)
Set the Log 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. |
Copyright © 2010–2014. All rights reserved.