Package | Description |
---|---|
okhttp3 |
An HTTP+HTTP/2 client for Android and Java applications.
|
okhttp3.internal | |
okhttp3.internal.connection |
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.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) |
Modifier and Type | Method and Description |
---|---|
abstract void |
Internal.apply(ConnectionSpec tlsConfiguration,
SSLSocket sslSocket,
boolean isFallback) |
Modifier and Type | Method and Description |
---|---|
ConnectionSpec |
ConnectionSpecSelector.configureSecureSocket(SSLSocket sslSocket)
Configures the supplied
SSLSocket to connect to the specified host using an appropriate
ConnectionSpec . |
Constructor and Description |
---|
ConnectionSpecSelector(List<ConnectionSpec> connectionSpecs) |
Copyright © 2018. All rights reserved.