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

- Packages that use ProtocolVersion
  Package | Description
  --- | ---
  org.apache.hc.core5.benchmark | Apache Bench (AB) clone based on HttpCore.
  org.apache.hc.core5.http | Core HTTP transport component APIs.
  org.apache.hc.core5.http.impl.nio | Default implementation of HTTP/1.1 transport based on the asynchronous (non-blocking) I/O model.
  org.apache.hc.core5.http.io.support | Support classes for the classic (blocking) I/O model.
  org.apache.hc.core5.http.message | Core HTTP message components, message element parser and writer APIs and their default implementations.
  org.apache.hc.core5.http.nio.support | Support classes for the asynchronous I/O model.
  org.apache.hc.core5.http.protocol | Core HTTP protocol interceptors.
  org.apache.hc.core5.http.ssl |
  org.apache.hc.core5.http.support |
  org.apache.hc.core5.http2.impl.nio | Default implementation of HTTP/2 transport based on the asynchronous (non-blocking) I/O model.
  org.apache.hc.core5.testing.framework |

- - ### Uses of ProtocolVersion in org.apache.hc.core5.benchmark

    Methods in org.apache.hc.core5.benchmark that return ProtocolVersion
    Modifier and Type | Method and Description
    --- | ---
    `ProtocolVersion` | Results.`getProtocolVersion()`
    `ProtocolVersion` | Stats.`getVersion()`

    Methods in org.apache.hc.core5.benchmark with parameters of type ProtocolVersion
    Modifier and Type | Method and Description
    --- | ---
    `void` | Stats.`setVersion(ProtocolVersion version)`

    Constructors in org.apache.hc.core5.benchmark with parameters of type ProtocolVersion
    Constructor and Description
    `Results(String serverName, ProtocolVersion protocolVersion, String hostName, int hostPort, String documentPath, long contentLength, int concurrencyLevel, long totalTimeMillis, long successCount, long failureCount, long keepAliveCount, long totalBytesRcvd, long totalBytesSent, long totalContentBytesRecvd)`

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

    Subclasses of ProtocolVersion in org.apache.hc.core5.http
    Modifier and Type | Class and Description
    --- | ---
    `class` | `HttpVersion` Represents an HTTP version.

    Methods in org.apache.hc.core5.http that return ProtocolVersion
    Modifier and Type | Method and Description
    --- | ---
    `ProtocolVersion` | ProtocolVersionParser.Factory.`create(int major, int minor)`
    `ProtocolVersion` | HttpConnection.`getProtocolVersion()` Returns this connection's protocol version or `null` if unknown.
    `ProtocolVersion` | HttpMessage.`getVersion()` Returns protocol version or `null` when not available.
    `static ProtocolVersion` | ProtocolVersion.`parse(CharSequence buffer, Tokenizer.Cursor cursor, Tokenizer.Delimiter delimiterPredicate)`
    `ProtocolVersion` | ProtocolVersionParser.`parse(CharSequence buffer, Tokenizer.Cursor cursor, Tokenizer.Delimiter delimiterPredicate)`
    `static ProtocolVersion` | ProtocolVersion.`parse(String s)`
    `ProtocolVersion` | ProtocolVersionParser.`parse(String protocol, CharSequence buffer, Tokenizer.Cursor cursor)`
    `ProtocolVersion` | ProtocolVersionParser.`parse(String protocol, CharSequence buffer, Tokenizer.Cursor cursor, Tokenizer.Delimiter delimiterPredicate)`
    `ProtocolVersion` | ProtocolVersionParser.`parse(String protocol, ProtocolVersionParser.Factory factory, CharSequence buffer, Tokenizer.Cursor cursor, Tokenizer.Delimiter delimiterPredicate)`

    Methods in org.apache.hc.core5.http with parameters of type ProtocolVersion
    Modifier and Type | Method and Description
    --- | ---
    `int` | ProtocolVersion.`compareToVersion(ProtocolVersion that)` Compares this protocol version with another one.
    `boolean` | ProtocolVersion.`greaterEquals(ProtocolVersion version)` Tests if this protocol version is greater or equal to the given one.
    `boolean` | ProtocolVersion.`isComparable(ProtocolVersion that)` Checks whether this protocol can be compared to another one.
    `boolean` | ProtocolVersion.`lessEquals(ProtocolVersion version)` Tests if this protocol version is less or equal to the given one.
    `void` | HttpMessage.`setVersion(ProtocolVersion version)` Sets protocol version.

    Constructors in org.apache.hc.core5.http with parameters of type ProtocolVersion
    Constructor and Description
    `UnsupportedHttpVersionException(ProtocolVersion protocolVersion)` Creates an exception with a detail message for the given ProtocolVersion.

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

    Methods in org.apache.hc.core5.http.impl.nio that return ProtocolVersion
    Modifier and Type | Method and Description
    --- | ---
    `ProtocolVersion` | ClientHttp1IOEventHandler.`getProtocolVersion()`
    `ProtocolVersion` | ServerHttp1IOEventHandler.`getProtocolVersion()`

  - ### Uses of ProtocolVersion in org.apache.hc.core5.http.io.support

    Methods in org.apache.hc.core5.http.io.support with parameters of type ProtocolVersion
    Modifier and Type | Method and Description
    --- | ---
    `ClassicRequestBuilder` | ClassicRequestBuilder.`setVersion(ProtocolVersion version)`
    `ClassicResponseBuilder` | ClassicResponseBuilder.`setVersion(ProtocolVersion version)`

  - ### Uses of ProtocolVersion in org.apache.hc.core5.http.message

    Methods in org.apache.hc.core5.http.message that return ProtocolVersion
    Modifier and Type | Method and Description
    --- | ---
    `ProtocolVersion` | RequestLine.`getProtocolVersion()`
    `ProtocolVersion` | StatusLine.`getProtocolVersion()`
    `ProtocolVersion` | BasicHttpRequest.`getVersion()`
    `ProtocolVersion` | BasicHttpResponse.`getVersion()`
    `ProtocolVersion` | AbstractMessageWrapper.`getVersion()`

    Methods in org.apache.hc.core5.http.message with parameters of type ProtocolVersion
    Modifier and Type | Method and Description
    --- | ---
    `void` | BasicHttpRequest.`setVersion(ProtocolVersion version)`
    `void` | BasicHttpResponse.`setVersion(ProtocolVersion version)`
    `void` | AbstractMessageWrapper.`setVersion(ProtocolVersion version)`

    Constructors in org.apache.hc.core5.http.message with parameters of type ProtocolVersion
    Constructor and Description
    `BasicLineParser(ProtocolVersion proto)` Creates a new line parser for the given HTTP-like protocol.
    `RequestLine(String method, String uri, ProtocolVersion version)`
    `StatusLine(ProtocolVersion version, int statusCode, String reasonPhrase)` Creates a new status line with the given version, status, and reason.

  - ### Uses of ProtocolVersion in org.apache.hc.core5.http.nio.support

    Methods in org.apache.hc.core5.http.nio.support with parameters of type ProtocolVersion
    Modifier and Type | Method and Description
    --- | ---
    `AsyncRequestBuilder` | AsyncRequestBuilder.`setVersion(ProtocolVersion version)`
    `AsyncPushBuilder` | AsyncPushBuilder.`setVersion(ProtocolVersion version)`
    `AsyncResponseBuilder` | AsyncResponseBuilder.`setVersion(ProtocolVersion version)`

  - ### Uses of ProtocolVersion in org.apache.hc.core5.http.protocol

    Methods in org.apache.hc.core5.http.protocol that return ProtocolVersion
    Modifier and Type | Method and Description
    --- | ---
    `ProtocolVersion` | HttpCoreContext.`getProtocolVersion()` Represents the protocol version used by the message exchange.
    `ProtocolVersion` | BasicHttpContext.`getProtocolVersion()` Deprecated.
    `ProtocolVersion` | HttpContext.`getProtocolVersion()` Returns protocol version used in this context.

    Methods in org.apache.hc.core5.http.protocol with parameters of type ProtocolVersion
    Modifier and Type | Method and Description
    --- | ---
    `void` | HttpCoreContext.`setProtocolVersion(ProtocolVersion version)`
    `void` | BasicHttpContext.`setProtocolVersion(ProtocolVersion version)` Deprecated.
    `void` | HttpContext.`setProtocolVersion(ProtocolVersion version)` Sets protocol version used in this context.

  - ### Uses of ProtocolVersion in org.apache.hc.core5.http.ssl

    Fields in org.apache.hc.core5.http.ssl declared as ProtocolVersion
    Modifier and Type | Field and Description
    --- | ---
    `ProtocolVersion` | TLS.`version`

    Methods in org.apache.hc.core5.http.ssl that return ProtocolVersion
    Modifier and Type | Method and Description
    --- | ---
    `ProtocolVersion` | TLS.`getVersion()` Gets the version.
    `static ProtocolVersion` | TLS.`parse(CharSequence buffer, Tokenizer.Cursor cursor, Tokenizer.Delimiter delimiterPredicate)`
    `static ProtocolVersion` | TLS.`parse(String s)`

    Methods in org.apache.hc.core5.http.ssl with parameters of type ProtocolVersion
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | TLS.`greaterEquals(ProtocolVersion protocolVersion)`
    `boolean` | TLS.`isComparable(ProtocolVersion protocolVersion)`
    `boolean` | TLS.`isSame(ProtocolVersion protocolVersion)`
    `boolean` | TLS.`lessEquals(ProtocolVersion protocolVersion)`

  - ### Uses of ProtocolVersion in org.apache.hc.core5.http.support

    Methods in org.apache.hc.core5.http.support that return ProtocolVersion
    Modifier and Type | Method and Description
    --- | ---
    `ProtocolVersion` | AbstractMessageBuilder.`getVersion()`

    Methods in org.apache.hc.core5.http.support with parameters of type ProtocolVersion
    Modifier and Type | Method and Description
    --- | ---
    `AbstractRequestBuilder<T>` | AbstractRequestBuilder.`setVersion(ProtocolVersion version)`
    `BasicRequestBuilder` | BasicRequestBuilder.`setVersion(ProtocolVersion version)`
    `AbstractResponseBuilder<T>` | AbstractResponseBuilder.`setVersion(ProtocolVersion version)`
    `BasicResponseBuilder` | BasicResponseBuilder.`setVersion(ProtocolVersion version)`
    `AbstractMessageBuilder<T>` | AbstractMessageBuilder.`setVersion(ProtocolVersion version)`

  - ### Uses of ProtocolVersion in org.apache.hc.core5.http2.impl.nio

    Methods in org.apache.hc.core5.http2.impl.nio that return ProtocolVersion
    Modifier and Type | Method and Description
    --- | ---
    `ProtocolVersion` | HttpProtocolNegotiator.`getProtocolVersion()`

  - ### Uses of ProtocolVersion in org.apache.hc.core5.testing.framework

    Fields in org.apache.hc.core5.testing.framework declared as ProtocolVersion
    Modifier and Type | Field and Description
    --- | ---
    `static ProtocolVersion` | TestingFramework.`DEFAULT_REQUEST_PROTOCOL_VERSION` If a test does not specify a protocol version, this one is used.

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