Modifier and Type | Field and Description |
---|---|
static ConnectionSpec |
ConnectionSpec.CLEARTEXT
Unencrypted, unauthenticated connections for
http: URLs. |
static ConnectionSpec |
ConnectionSpec.COMPATIBLE_TLS
A backwards-compatible fallback connection for interop with obsolete servers.
|
static ConnectionSpec |
ConnectionSpec.MODERN_TLS
A modern TLS connection with extensions like SNI and ALPN available.
|
Modifier and Type | Method and Description |
---|---|
ConnectionSpec |
ConnectionSpec.Builder.build() |
Modifier and Type | Method and Description |
---|---|
List<ConnectionSpec> |
OkHttpClient.getConnectionSpecs() |
List<ConnectionSpec> |
Address.getConnectionSpecs() |
Modifier and Type | Method and Description |
---|---|
OkHttpClient |
OkHttpClient.setConnectionSpecs(List<ConnectionSpec> connectionSpecs) |
Constructor and Description |
---|
Builder(ConnectionSpec connectionSpec) |
Constructor and Description |
---|
Address(String uriHost,
int uriPort,
Dns dns,
SocketFactory socketFactory,
SSLSocketFactory sslSocketFactory,
HostnameVerifier hostnameVerifier,
CertificatePinner certificatePinner,
Authenticator authenticator,
Proxy proxy,
List<Protocol> protocols,
List<ConnectionSpec> connectionSpecs,
ProxySelector proxySelector) |
Copyright © 2016. All Rights Reserved.