## 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.

- - ### 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
    `ClientHttpProtocolNegotiationStarter(ClientHttp1StreamDuplexerFactory http1StreamHandlerFactory, ClientH2StreamMultiplexerFactory http2StreamHandlerFactory, HttpVersionPolicy versionPolicy, TlsStrategy tlsStrategy, Timeout handshakeTimeout)`
    `ServerHttpProtocolNegotiationStarter(ServerHttp1StreamDuplexerFactory http1StreamHandlerFactory, ServerH2StreamMultiplexerFactory http2StreamHandlerFactory, 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
    --- | ---
    `H2RequesterBootstrap` | H2RequesterBootstrap.`setVersionPolicy(HttpVersionPolicy versionPolicy)` Sets HTTP protocol version policy
    `H2ServerBootstrap` | H2ServerBootstrap.`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, TlsStrategy tlsStrategy, Timeout handshakeTimeout)` Use `H2RequesterBootstrap` to create instances of this class.

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