Package | Description |
---|---|
com.squareup.okhttp | |
com.squareup.okhttp.internal | |
com.squareup.okhttp.internal.io |
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> |
Address.getConnectionSpecs() |
List<ConnectionSpec> |
OkHttpClient.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) |
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 . |
Modifier and Type | Method and Description |
---|---|
abstract void |
Internal.apply(ConnectionSpec tlsConfiguration,
SSLSocket sslSocket,
boolean isFallback) |
Constructor and Description |
---|
ConnectionSpecSelector(List<ConnectionSpec> connectionSpecs) |
Modifier and Type | Method and Description |
---|---|
void |
RealConnection.connect(int connectTimeout,
int readTimeout,
int writeTimeout,
List<ConnectionSpec> connectionSpecs,
boolean connectionRetryEnabled) |
Copyright © 2016. All rights reserved.