| Package | Description |
|---|---|
| org.aoju.bus.http | |
| org.aoju.bus.http.accord | |
| org.aoju.bus.http.accord.platform | |
| org.aoju.bus.http.internal.http | |
| org.aoju.bus.http.internal.http.second | |
| org.aoju.bus.http.offers |
| Modifier and Type | Field and Description |
|---|---|
List<Protocol> |
Address.protocols |
| Modifier and Type | Method and Description |
|---|---|
static Protocol |
Protocol.get(String protocol) |
Protocol |
Response.protocol() |
static Protocol |
Protocol.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Protocol[] |
Protocol.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
List<Protocol> |
Client.protocols() |
List<Protocol> |
Address.protocols() |
| Modifier and Type | Method and Description |
|---|---|
Response.Builder |
Response.Builder.protocol(Protocol protocol) |
| Modifier and Type | Method and Description |
|---|---|
Client.Builder |
Client.Builder.protocols(List<Protocol> protocols)
Configure the protocols used by this client to communicate with remote servers.
|
| 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 |
|---|---|
Protocol |
RealConnection.protocol() |
Protocol |
Connection.protocol() |
| Modifier and Type | Method and Description |
|---|---|
static List<String> |
Platform.alpnProtocolNames(List<Protocol> protocols) |
void |
Platform.configureTlsExtensions(SSLSocket sslSocket,
String hostname,
List<Protocol> protocols) |
| Modifier and Type | Field and Description |
|---|---|
Protocol |
StatusLine.protocol |
| Constructor and Description |
|---|
StatusLine(Protocol protocol,
int code,
String message) |
| Modifier and Type | Method and Description |
|---|---|
Protocol |
Http2Connection.getProtocol() |
| Modifier and Type | Method and Description |
|---|---|
static Response.Builder |
Http2Codec.readHttp2HeadersList(Headers headerBlock,
Protocol protocol) |
| Modifier and Type | Method and Description |
|---|---|
void |
EventListener.connectEnd(Call call,
InetSocketAddress inetSocketAddress,
Proxy proxy,
Protocol protocol) |
void |
EventListener.connectFailed(Call call,
InetSocketAddress inetSocketAddress,
Proxy proxy,
Protocol protocol,
IOException ioe) |
Copyright © 2019. All rights reserved.