| Package | Description |
|---|---|
| okhttp3 |
An HTTP+HTTP/2 client for Android and Java applications.
|
| Modifier and Type | Field and Description |
|---|---|
static CertificatePinner |
CertificatePinner.DEFAULT |
| Modifier and Type | Method and Description |
|---|---|
CertificatePinner |
CertificatePinner.Builder.build() |
CertificatePinner |
Address.certificatePinner()
Returns this address's certificate pinner, or null if this is not an HTTPS address.
|
CertificatePinner |
OkHttpClient.certificatePinner() |
| Modifier and Type | Method and Description |
|---|---|
OkHttpClient.Builder |
OkHttpClient.Builder.certificatePinner(CertificatePinner certificatePinner)
Sets the certificate pinner that constrains which certificates are trusted.
|
| Constructor and Description |
|---|
Address(String uriHost,
int uriPort,
Dns dns,
SocketFactory socketFactory,
SSLSocketFactory sslSocketFactory,
HostnameVerifier hostnameVerifier,
CertificatePinner certificatePinner,
Authenticator proxyAuthenticator,
Proxy proxy,
List<Protocol> protocols,
List<ConnectionSpec> connectionSpecs,
ProxySelector proxySelector) |
Copyright © 2017. All Rights Reserved.