| Package | Description |
|---|---|
| com.jayway.restassured.config |
| Modifier and Type | Method and Description |
|---|---|
SSLConfig |
SSLConfig.allowAllHostnames()
Configure the SSLConfig to allow all host names.
|
SSLConfig |
SSLConfig.and()
Syntactic sugar.
|
SSLConfig |
RestAssuredConfig.getSSLConfig() |
SSLConfig |
SSLConfig.keystore(File pathToJks,
String password)
Use a keystore located on the file-system.
|
SSLConfig |
SSLConfig.keystore(String password)
Uses the user default keystore stored in <user.home>/.keystore
|
SSLConfig |
SSLConfig.keystore(String pathToJks,
String password) |
SSLConfig |
SSLConfig.keystoreType(String keystoreType)
The certificate type, will use
KeyStore.getDefaultType() by default. |
SSLConfig |
SSLConfig.port(int port)
The port for which REST Assured will apply the SSL configuration.
|
SSLConfig |
SSLConfig.relaxedHTTPSValidation()
Use relaxed HTTP validation.
|
static SSLConfig |
SSLConfig.sslConfig() |
SSLConfig |
SSLConfig.sslSocketFactory(org.apache.http.conn.ssl.SSLSocketFactory sslSocketFactory)
Specify a
SSLSocketFactory. |
SSLConfig |
SSLConfig.strictHostnames()
Configure the SSLConfig to use strict host name verification (this is the default behavior).
|
SSLConfig |
SSLConfig.trustStore(KeyStore trustStore)
A trust store to use during SSL/Certificate authentication.
|
SSLConfig |
SSLConfig.using()
Syntactic sugar.
|
SSLConfig |
SSLConfig.with()
Syntactic sugar.
|
SSLConfig |
SSLConfig.x509HostnameVerifier(org.apache.http.conn.ssl.X509HostnameVerifier x509HostnameVerifier)
Provide a custom
X509HostnameVerifier implementation that'll be used by the SSLSocketFactory. |
| Modifier and Type | Method and Description |
|---|---|
RestAssuredConfig |
RestAssuredConfig.sslConfig(SSLConfig sslConfig)
Set the SSL 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.