## Uses of Class
org.apache.hc.core5.http.HttpVersion

- Packages that use HttpVersion
  Package | Description
  --- | ---
  org.apache.hc.core5.http | Core HTTP transport component APIs.
  org.apache.hc.core5.http.config | Core configuration APIs.
  org.apache.hc.core5.http.impl.io | Default implementation of HTTP/1.1 transport based on the classic (blocking) I/O model.
  org.apache.hc.core5.http.impl.nio | Default implementation of HTTP/1.1 transport based on the asynchronous (non-blocking) I/O model.

- - ### Uses of HttpVersion in org.apache.hc.core5.http

    Fields in org.apache.hc.core5.http declared as HttpVersion
    Modifier and Type | Field and Description
    --- | ---
    `static HttpVersion[]` | HttpVersion.`ALL` All HTTP versions known to HttpCore.
    `static HttpVersion` | HttpVersion.`DEFAULT` HTTP/1.1 is default
    `static HttpVersion` | HttpVersion.`HTTP_0_9` HTTP protocol version 0.9
    `static HttpVersion` | HttpVersion.`HTTP_1_0` HTTP protocol version 1.0
    `static HttpVersion` | HttpVersion.`HTTP_1_1` HTTP protocol version 1.1
    `static HttpVersion` | HttpVersion.`HTTP_2`
    `static HttpVersion` | HttpVersion.`HTTP_2_0` HTTP protocol version 2.0

    Methods in org.apache.hc.core5.http that return HttpVersion
    Modifier and Type | Method and Description
    --- | ---
    `static HttpVersion` | HttpVersion.`get(int major, int minor)` Gets a specific instance or creates a new one.

  - ### Uses of HttpVersion in org.apache.hc.core5.http.config

    Methods in org.apache.hc.core5.http.config that return HttpVersion
    Modifier and Type | Method and Description
    --- | ---
    `HttpVersion` | Http1Config.`getVersion()` The effective protocol level expressed by the minor version of HTTP/1.x.

    Methods in org.apache.hc.core5.http.config with parameters of type HttpVersion
    Modifier and Type | Method and Description
    --- | ---
    `Http1Config.Builder` | Http1Config.Builder.`setVersion(HttpVersion version)` Sets the effective HTTP/1.x protocol level (as expressed by the minor version).

  - ### Uses of HttpVersion in org.apache.hc.core5.http.impl.io

    Methods in org.apache.hc.core5.http.impl.io that return HttpVersion
    Modifier and Type | Method and Description
    --- | ---
    `protected HttpVersion` | DefaultHttpRequestWriter.`protocolVersion(HttpRequest message)` Determines the HTTP protocol version to be communicated to the opposite endpoint in the message header.
    `protected HttpVersion` | DefaultHttpResponseWriter.`protocolVersion(HttpResponse message)` Determines the HTTP protocol version to be communicated to the opposite endpoint in the message header.

  - ### Uses of HttpVersion in org.apache.hc.core5.http.impl.nio

    Methods in org.apache.hc.core5.http.impl.nio that return HttpVersion
    Modifier and Type | Method and Description
    --- | ---
    `protected HttpVersion` | DefaultHttpRequestWriter.`protocolVersion(T request)` Determines the HTTP protocol version to be communicated to the opposite endpoint in the message header.
    `protected HttpVersion` | DefaultHttpResponseWriter.`protocolVersion(T request)` Determines the HTTP protocol version to be communicated to the opposite endpoint in the message header.

Copyright © 2005–2021 The Apache Software Foundation. All rights reserved.