## Uses of Class
org.apache.hc.core5.http2.HttpVersionPolicy

- Packages that use HttpVersionPolicy
  Package | Description
  --- | ---
  org.apache.hc.core5.http2 | Core HTTP/2 transport component APIs.
  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.http2.impl.nio.bootstrap | HTTP/2 capable requester and server bootstrap.
  org.apache.hc.core5.http2.ssl | HTTP/2 specific TLS protocol support.

- - ### Uses of HttpVersionPolicy in org.apache.hc.core5.http2

    Methods in org.apache.hc.core5.http2 that return HttpVersionPolicy
    Modifier and Type | Method and Description
    --- | ---
    `static HttpVersionPolicy` | HttpVersionPolicy.`valueOf(String name)` Returns the enum constant of this type with the specified name.
    `static HttpVersionPolicy[]` | HttpVersionPolicy.`values()` Returns an array containing the constants of this enum type, in the order they are declared.

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

    Constructors in org.apache.hc.core5.http2.impl.nio with parameters of type HttpVersionPolicy
    Constructor and Description
    `ClientHttpProtocolNegotiator(ProtocolIOSession ioSession, ClientHttp1StreamDuplexerFactory http1StreamHandlerFactory, ClientH2StreamMultiplexerFactory http2StreamHandlerFactory, HttpVersionPolicy versionPolicy)`
    `ClientHttpProtocolNegotiator(ProtocolIOSession ioSession, ClientHttp1StreamDuplexerFactory http1StreamHandlerFactory, ClientH2StreamMultiplexerFactory http2StreamHandlerFactory, HttpVersionPolicy versionPolicy, FutureCallback<ProtocolIOSession> resultCallback)`
    `ClientHttpProtocolNegotiatorFactory(ClientHttp1StreamDuplexerFactory http1StreamHandlerFactory, ClientH2StreamMultiplexerFactory http2StreamHandlerFactory, HttpVersionPolicy versionPolicy, TlsStrategy tlsStrategy, Timeout handshakeTimeout)`
    `ServerHttpProtocolNegotiator(ProtocolIOSession ioSession, ServerHttp1StreamDuplexerFactory http1StreamHandlerFactory, ServerH2StreamMultiplexerFactory http2StreamHandlerFactory, HttpVersionPolicy versionPolicy)`
    `ServerHttpProtocolNegotiator(ProtocolIOSession ioSession, ServerHttp1StreamDuplexerFactory http1StreamHandlerFactory, ServerH2StreamMultiplexerFactory http2StreamHandlerFactory, HttpVersionPolicy versionPolicy, FutureCallback<ProtocolIOSession> resultCallback)`
    `ServerHttpProtocolNegotiatorFactory(ServerHttp1StreamDuplexerFactory http1StreamDuplexerFactory, ServerH2StreamMultiplexerFactory http2StreamMultiplexerFactory, HttpVersionPolicy versionPolicy, TlsStrategy tlsStrategy, Timeout handshakeTimeout)`

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

    Methods in org.apache.hc.core5.http2.impl.nio.bootstrap with parameters of type HttpVersionPolicy
    Modifier and Type | Method and Description
    --- | ---
    `H2ServerBootstrap` | H2ServerBootstrap.`setVersionPolicy(HttpVersionPolicy versionPolicy)` Sets HTTP protocol version policy
    `H2RequesterBootstrap` | H2RequesterBootstrap.`setVersionPolicy(HttpVersionPolicy versionPolicy)` Sets HTTP protocol version policy

    Constructors in org.apache.hc.core5.http2.impl.nio.bootstrap with parameters of type HttpVersionPolicy
    Constructor and Description
    `H2AsyncRequester(HttpVersionPolicy versionPolicy, IOReactorConfig ioReactorConfig, IOEventHandlerFactory eventHandlerFactory, Decorator<IOSession> ioSessionDecorator, Callback<Exception> exceptionCallback, IOSessionListener sessionListener, ManagedConnPool<HttpHost,IOSession> connPool)` Use `H2RequesterBootstrap` to create instances of this class.
    `H2AsyncRequester(HttpVersionPolicy versionPolicy, IOReactorConfig ioReactorConfig, IOEventHandlerFactory eventHandlerFactory, Decorator<IOSession> ioSessionDecorator, Callback<Exception> exceptionCallback, IOSessionListener sessionListener, ManagedConnPool<HttpHost,IOSession> connPool, Lookup<ProtocolUpgradeHandler> protocolUpgradeHandlerLookup)` Use `H2RequesterBootstrap` to create instances of this class.

  - ### Uses of HttpVersionPolicy in org.apache.hc.core5.http2.ssl

    Constructors in org.apache.hc.core5.http2.ssl with parameters of type HttpVersionPolicy
    Constructor and Description
    `TlsUpgradeHandler(HttpVersionPolicy versionPolicy, TlsStrategy tlsStrategy, Timeout handshakeTimeout)`

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