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 |
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 |
---|---|
HttpClientRequest |
HttpClientRequest.sendHead(Handler<HttpVersion> completionHandler)
Like
HttpClientRequest.sendHead() but with an handler after headers have been sent. |
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 |
HttpServerRequest.version() |
Modifier and Type | Method and Description |
---|---|
HttpClientRequest |
HttpClientRequest.sendHead(Handler<HttpVersion> completionHandler)
Like
HttpClientRequest.sendHead() but with an handler after headers have been sent. |
Modifier and Type | Method and Description |
---|---|
HttpVersion |
HttpResponse.version() |
Modifier and Type | Method and Description |
---|---|
HttpVersion |
HttpClientResponse.version() |
HttpVersion |
HttpServerRequest.version() |
Modifier and Type | Method and Description |
---|---|
HttpClientRequest |
HttpClientRequest.sendHead(Handler<HttpVersion> completionHandler)
Like
HttpClientRequest.sendHead() but with an handler after headers have been sent. |
Modifier and Type | Method and Description |
---|---|
HttpVersion |
HttpResponse.version() |
Copyright © 2020 Eclipse. All rights reserved.