## Uses of Class
jdk.incubator.http.HttpClient.Version

- Packages that use HttpClient.Version
  Package | Description
  --- | ---
  jdk.incubator.http | High level HTTP and WebSocket API

- - ### Uses of HttpClient.Version in jdk.incubator.http

    Methods in jdk.incubator.http that return HttpClient.Version
    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` | HttpResponse.`version​()` | Returns the HTTP protocol version that was used for this response.

    Methods in jdk.incubator.http that return types with arguments of type HttpClient.Version
    Modifier and Type | Method | Description
    --- | --- | ---
    `abstract Optional<HttpClient.Version>` | HttpRequest.`version​()` | Returns an `Optional` containing the HTTP protocol version that will be requested for this `HttpRequest`.

    Methods in jdk.incubator.http with parameters of type HttpClient.Version
    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)` | Sets the preferred `HttpClient.Version` for this request.