| Package | Description |
|---|---|
| okhttp3 | |
| okhttp3.internal | |
| okhttp3.internal.framed | |
| okhttp3.internal.http | |
| okhttp3.internal.io |
| Modifier and Type | Method and Description |
|---|---|
static Protocol |
Protocol.get(String
Returns the protocol identified by
protocol.
|
Protocol |
Response.protocol()
|
Protocol |
Connection.protocol()
Returns the protocol negotiated by this connection, or
HTTP_1_1 if no protocol has been negotiated.
|
static Protocol |
Protocol.valueOf(String
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 |
OkHttpClient.protocols()
|
List |
Address.protocols()
Returns the protocols the client supports.
|
| Modifier and Type | Method and Description |
|---|---|
Response |
Response.Builder.protocol(Protocol
|
| Modifier and Type | Method and Description |
|---|---|
OkHttpClient |
OkHttpClient.Builder.protocols(List
Configure the protocols used by this client to communicate with remote servers.
|
| Constructor and Description | |
|---|---|
Address(String
|
| Modifier and Type | Method and Description |
|---|---|
void |
Platform.configureTlsExtensions(SSLSocket
Configure TLS extensions on
sslSocket for
route.
|
| Modifier and Type | Method and Description |
|---|---|
Protocol |
Variant.getProtocol()
The protocol as selected using ALPN.
|
Protocol |
Spdy3.getProtocol()
|
Protocol |
FramedConnection.getProtocol()
The protocol as selected using ALPN.
|
Protocol |
Http2.getProtocol()
|
| Modifier and Type | Method and Description |
|---|---|
FramedConnection |
FramedConnection.Builder.protocol(Protocol
|
| Modifier and Type | Field and Description |
|---|---|
Protocol |
StatusLine.protocol
|
| Constructor and Description | |
|---|---|
StatusLine(Protocol
|
| Modifier and Type | Method and Description |
|---|---|
Protocol |
RealConnection.protocol()
|