| Package | Description |
|---|---|
| okhttp3 | |
| okhttp3.internal | |
| okhttp3.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 |
OkHttpClient.connectionSpecs()
|
List |
Address.connectionSpecs()
|
| Modifier and Type | Method and Description |
|---|---|
OkHttpClient |
OkHttpClient.Builder.connectionSpecs(List
|
| Constructor and Description | |
|---|---|
Builder(ConnectionSpec
|
| Constructor and Description | |
|---|---|
Address(String
|
| Modifier and Type | Method and Description |
|---|---|
ConnectionSpec |
ConnectionSpecSelector.configureSecureSocket(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
|
| Constructor and Description | |
|---|---|
ConnectionSpecSelector(List
|
| Modifier and Type | Method and Description |
|---|---|
void |
RealConnection.connect(int connectTimeout, int readTimeout, int writeTimeout, List
|