Modifier and Type | Field | 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 | Description |
---|---|---|
ConnectionSpec |
ConnectionSpec.Builder.build() |
Modifier and Type | Method | Description |
---|---|---|
List<ConnectionSpec> |
Address.connectionSpecs() |
|
List<ConnectionSpec> |
OkHttpClient.connectionSpecs() |
Modifier and Type | Method | Description |
---|---|---|
OkHttpClient.Builder |
OkHttpClient.Builder.connectionSpecs(List<ConnectionSpec> connectionSpecs) |
Constructor | Description |
---|---|
Builder(ConnectionSpec connectionSpec) |
Copyright © 2020. All rights reserved.