| Package | Description |
|---|---|
| org.aoju.bus.http | |
| org.aoju.bus.http.accord |
| Modifier and Type | Field and Description |
|---|---|
List<ConnectionSpec> |
Address.connectionSpecs |
| Modifier and Type | Method and Description |
|---|---|
List<ConnectionSpec> |
Client.connectionSpecs() |
List<ConnectionSpec> |
Address.connectionSpecs() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
Internal.apply(ConnectionSpec tlsConfiguration,
SSLSocket sslSocket,
boolean isFallback) |
| Modifier and Type | Method and Description |
|---|---|
Client.Builder |
Client.Builder.connectionSpecs(List<ConnectionSpec> connectionSpecs) |
| 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 | 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.
|
static ConnectionSpec |
ConnectionSpec.RESTRICTED_TLS
A secure TLS connection assuming a modern client platform and server.
|
| Modifier and Type | Method and Description |
|---|---|
ConnectionSpec |
ConnectionSpec.Builder.build() |
ConnectionSpec |
ConnectionSpecSelector.configureSecureSocket(SSLSocket sslSocket) |
| Constructor and Description |
|---|
Builder(ConnectionSpec connectionSpec) |
| Constructor and Description |
|---|
ConnectionSpecSelector(List<ConnectionSpec> connectionSpecs) |
Copyright © 2019. All rights reserved.