Modifier and Type | Method | Description |
---|---|---|
static HttpClient.Version |
HttpClient.Version.valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static HttpClient.Version[] |
HttpClient.Version.values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
abstract HttpClient.Version |
HttpClient.version() |
Returns the HTTP protocol version requested for this client.
|
abstract HttpClient.Version |
HttpRequest.version() |
Returns the HTTP protocol version that will be requested for this
HttpRequest . |
abstract HttpClient.Version |
HttpResponse.version() |
Returns the HTTP protocol version that was used for this response.
|
Modifier and Type | Method | Description |
---|---|---|
abstract HttpClient.Builder |
HttpClient.Builder.version(HttpClient.Version version) |
Requests a specific HTTP protocol version where possible.
|
abstract HttpRequest.Builder |
HttpRequest.Builder.version(HttpClient.Version version) |
Overrides the
HttpClient.version() setting for this
request. |
Submit a bug or feature
Java is a trademark or registered trademark of Oracle and/or its affiliates in the US and other countries.
Copyright © 2015, 2017, Oracle and/or its affiliates. 500 Oracle Parkway
Redwood Shores, CA 94065 USA. All rights reserved.
DRAFT 9-Debian+0-9b155-1