Modifier and Type | Field and Description |
---|---|
static HttpVersion |
HttpClientOptions.DEFAULT_PROTOCOL_VERSION
The default protocol version = HTTP/1.1
|
Modifier and Type | Field and Description |
---|---|
static List<HttpVersion> |
HttpClientOptions.DEFAULT_ALPN_VERSIONS
Default Application-Layer Protocol Negotiation versions = [] (automatic according to protocol version)
|
static List<HttpVersion> |
HttpServerOptions.DEFAULT_ALPN_VERSIONS
Default Application-Layer Protocol Negotiation versions = [HTTP/2,HTTP/1.1]
|
Modifier and Type | Method and Description |
---|---|
HttpVersion |
HttpClientOptions.getProtocolVersion()
Get the protocol version.
|
static HttpVersion |
HttpVersion.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HttpVersion[] |
HttpVersion.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
HttpVersion |
HttpClientResponse.version() |
HttpVersion |
HttpClientRequest.version() |
HttpVersion |
HttpServerRequest.version() |
Modifier and Type | Method and Description |
---|---|
List<HttpVersion> |
HttpClientOptions.getAlpnVersions() |
List<HttpVersion> |
HttpServerOptions.getAlpnVersions() |
Modifier and Type | Method and Description |
---|---|
HttpClientOptions |
HttpClientOptions.setProtocolVersion(HttpVersion protocolVersion)
Set the protocol version.
|
Modifier and Type | Method and Description |
---|---|
HttpClientOptions |
HttpClientOptions.setAlpnVersions(List<HttpVersion> alpnVersions)
Set the list of protocol versions to provide to the server during the Application-Layer Protocol Negotiation.
|
HttpServerOptions |
HttpServerOptions.setAlpnVersions(List<HttpVersion> alpnVersions)
Set the list of protocol versions to provide to the server during the Application-Layer Protocol Negotiatiation.
|
Modifier and Type | Method and Description |
---|---|
ConsulClientOptions |
ConsulClientOptions.setProtocolVersion(HttpVersion protocolVersion)
Set the protocol version.
|
Modifier and Type | Method and Description |
---|---|
ConsulClientOptions |
ConsulClientOptions.setAlpnVersions(List<HttpVersion> alpnVersions)
Set the list of protocol versions to provide to the server during the Application-Layer Protocol Negotiation.
|
Modifier and Type | Method and Description |
---|---|
HttpVersion |
HttpResponse.version() |
Modifier and Type | Method and Description |
---|---|
WebClientOptions |
WebClientOptions.setProtocolVersion(HttpVersion protocolVersion) |
Modifier and Type | Method and Description |
---|---|
WebClientOptions |
WebClientOptions.setAlpnVersions(List<HttpVersion> alpnVersions) |
Modifier and Type | Method and Description |
---|---|
HttpVersion |
HttpClientResponse.version() |
HttpVersion |
HttpClientRequest.version() |
HttpVersion |
HttpServerRequest.version() |
Modifier and Type | Method and Description |
---|---|
HttpVersion |
HttpResponse.version() |
Modifier and Type | Method and Description |
---|---|
HttpVersion |
HttpClientResponse.version() |
HttpVersion |
HttpClientRequest.version() |
HttpVersion |
HttpServerRequest.version() |
Modifier and Type | Method and Description |
---|---|
HttpVersion |
HttpResponse.version() |
Modifier and Type | Method and Description |
---|---|
HttpSenderOptions |
HttpSenderOptions.setProtocolVersion(HttpVersion protocolVersion) |
Modifier and Type | Method and Description |
---|---|
HttpSenderOptions |
HttpSenderOptions.setAlpnVersions(List<HttpVersion> alpnVersions) |
Copyright © 2021 Eclipse. All rights reserved.