Package | Description |
---|---|
io.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.
|
SSLConfig |
SSLConfig.relaxedHTTPSValidation(String protocol)
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(File pathToTrustStore,
String password)
Use a trustStore located on the file-system.
|
SSLConfig |
SSLConfig.trustStore(KeyStore trustStore)
A trust store to use during SSL/Certificate authentication.
|
SSLConfig |
SSLConfig.trustStore(String pathToTrustStore,
String password) |
SSLConfig |
SSLConfig.trustStoreType(String trustStoreType)
The trust store type, will use
KeyStore.getDefaultType() by default. |
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,
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 . |
Copyright © 2010–2022. All rights reserved.