| 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. | 
| 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. | 
| 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 | 
| Constructor and Description | 
|---|
| H2AsyncRequester(HttpVersionPolicy versionPolicy,
                IOReactorConfig ioReactorConfig,
                IOEventHandlerFactory eventHandlerFactory,
                Decorator<IOSession> ioSessionDecorator,
                Callback<Exception> exceptionCallback,
                IOSessionListener sessionListener,
                ManagedConnPool<HttpHost,IOSession> connPool)Use  H2RequesterBootstrapto create instances of this class. | 
Copyright © 2005–2022 The Apache Software Foundation. All rights reserved.