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 configuration that works on obsolete client platforms and can
connect to obsolete servers.
|
static ConnectionSpec |
ConnectionSpec.MODERN_TLS
A modern TLS configuration that works on most client platforms and can connect to most servers.
|
static ConnectionSpec |
ConnectionSpec.RESTRICTED_TLS
A secure TLS connection that requires a recent client platform and a recent server.
|
Modifier and Type | Method and Description |
---|---|
ConnectionSpec |
ConnectionSpec.Builder.build() |
Modifier and Type | Method and Description |
---|---|
List<ConnectionSpec> |
OkHttpClient.connectionSpecs() |
List<ConnectionSpec> |
Address.connectionSpecs() |
Modifier and Type | Method and Description |
---|---|
OkHttpClient.Builder |
OkHttpClient.Builder.connectionSpecs(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 proxyAuthenticator,
Proxy proxy,
List<Protocol> protocols,
List<ConnectionSpec> connectionSpecs,
ProxySelector proxySelector) |
Copyright © 2019. All rights reserved.