Uses of Enum Class
org.apache.hc.core5.http2.HttpVersionPolicy
Packages that use HttpVersionPolicy
Package
Description
Core HTTP/2 transport component APIs.
Default implementation of HTTP/2 transport based on
the asynchronous (non-blocking) I/O model.
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 HttpVersionPolicyModifier and TypeMethodDescriptionstatic HttpVersionPolicyReturns the enum constant of this class with the specified name.static HttpVersionPolicy[]HttpVersionPolicy.values()Returns an array containing the constants of this enum class, 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 HttpVersionPolicyModifierConstructorDescriptionClientHttpProtocolNegotiationStarter(org.apache.hc.core5.http.impl.nio.ClientHttp1StreamDuplexerFactory http1StreamHandlerFactory, ClientH2StreamMultiplexerFactory http2StreamHandlerFactory, HttpVersionPolicy versionPolicy, org.apache.hc.core5.http.nio.ssl.TlsStrategy tlsStrategy, org.apache.hc.core5.util.Timeout handshakeTimeout, org.apache.hc.core5.function.Callback<Exception> exceptionCallback) ServerHttpProtocolNegotiationStarter(org.apache.hc.core5.http.impl.nio.ServerHttp1StreamDuplexerFactory http1StreamHandlerFactory, ServerH2StreamMultiplexerFactory http2StreamHandlerFactory, HttpVersionPolicy versionPolicy, org.apache.hc.core5.http.nio.ssl.TlsStrategy tlsStrategy, org.apache.hc.core5.util.Timeout handshakeTimeout, org.apache.hc.core5.function.Callback<Exception> exceptionCallback) -
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 HttpVersionPolicyModifier and TypeMethodDescriptionfinal H2RequesterBootstrapH2RequesterBootstrap.setVersionPolicy(HttpVersionPolicy versionPolicy) Sets HTTP protocol version policyfinal H2ServerBootstrapH2ServerBootstrap.setVersionPolicy(HttpVersionPolicy versionPolicy) Sets HTTP protocol version policyConstructors in org.apache.hc.core5.http2.impl.nio.bootstrap with parameters of type HttpVersionPolicyModifierConstructorDescriptionH2AsyncRequester(HttpVersionPolicy versionPolicy, org.apache.hc.core5.reactor.IOReactorConfig ioReactorConfig, org.apache.hc.core5.reactor.IOEventHandlerFactory eventHandlerFactory, org.apache.hc.core5.function.Decorator<org.apache.hc.core5.reactor.IOSession> ioSessionDecorator, org.apache.hc.core5.function.Callback<Exception> exceptionCallback, org.apache.hc.core5.reactor.IOSessionListener sessionListener, org.apache.hc.core5.pool.ManagedConnPool<org.apache.hc.core5.http.HttpHost, org.apache.hc.core5.reactor.IOSession> connPool, org.apache.hc.core5.http.nio.ssl.TlsStrategy tlsStrategy, org.apache.hc.core5.util.Timeout handshakeTimeout, org.apache.hc.core5.reactor.IOReactorMetricsListener threadPoolListener, org.apache.hc.core5.reactor.IOWorkerSelector workerSelector, int maxPendingCommandsPerConnection) UseH2RequesterBootstrapto create instances of this class.