Package | Description |
---|---|
org.apache.hc.core5.http2.impl.nio.bootstrap |
HTTP/2 capable requester and server bootstrap.
|
Modifier and Type | Method and Description |
---|---|
static H2RequesterBootstrap |
H2RequesterBootstrap.bootstrap() |
H2RequesterBootstrap |
H2RequesterBootstrap.register(String uriPattern,
Supplier<AsyncPushConsumer> supplier)
Registers the given
AsyncPushConsumer Supplier as a default handler for URIs
matching the given pattern. |
H2RequesterBootstrap |
H2RequesterBootstrap.registerVirtual(String hostname,
String uriPattern,
Supplier<AsyncPushConsumer> supplier)
Registers the given
AsyncPushConsumer Supplier as a handler for URIs
matching the given host and the pattern. |
H2RequesterBootstrap |
H2RequesterBootstrap.setCharCodingConfig(CharCodingConfig charCodingConfig)
Sets message char coding.
|
H2RequesterBootstrap |
H2RequesterBootstrap.setConnPoolListener(ConnPoolListener<HttpHost> connPoolListener)
Assigns
ConnPoolListener instance. |
H2RequesterBootstrap |
H2RequesterBootstrap.setDefaultMaxPerRoute(int defaultMaxPerRoute) |
H2RequesterBootstrap |
H2RequesterBootstrap.setExceptionCallback(Callback<Exception> exceptionCallback)
|
H2RequesterBootstrap |
H2RequesterBootstrap.setH2Config(H2Config h2Config)
Sets HTTP/2 protocol parameters
|
H2RequesterBootstrap |
H2RequesterBootstrap.setHandshakeTimeout(Timeout handshakeTimeout) |
H2RequesterBootstrap |
H2RequesterBootstrap.setHttp1Config(Http1Config http1Config)
Sets HTTP/1.1 protocol parameters
|
H2RequesterBootstrap |
H2RequesterBootstrap.setHttpProcessor(HttpProcessor httpProcessor)
Assigns
HttpProcessor instance. |
H2RequesterBootstrap |
H2RequesterBootstrap.setIOReactorConfig(IOReactorConfig ioReactorConfig)
Sets I/O reactor configuration.
|
H2RequesterBootstrap |
H2RequesterBootstrap.setIOSessionDecorator(Decorator<IOSession> ioSessionDecorator)
|
H2RequesterBootstrap |
H2RequesterBootstrap.setIOSessionListener(IOSessionListener sessionListener)
Assigns
IOSessionListener instance. |
H2RequesterBootstrap |
H2RequesterBootstrap.setMaxTotal(int maxTotal) |
H2RequesterBootstrap |
H2RequesterBootstrap.setPoolConcurrencyPolicy(PoolConcurrencyPolicy poolConcurrencyPolicy)
Assigns
PoolConcurrencyPolicy instance. |
H2RequesterBootstrap |
H2RequesterBootstrap.setPoolReusePolicy(PoolReusePolicy poolReusePolicy)
Assigns
PoolReusePolicy instance. |
H2RequesterBootstrap |
H2RequesterBootstrap.setStreamListener(H2StreamListener streamListener)
Assigns
H2StreamListener instance. |
H2RequesterBootstrap |
H2RequesterBootstrap.setStreamListener(Http1StreamListener http1StreamListener)
Assigns
Http1StreamListener instance. |
H2RequesterBootstrap |
H2RequesterBootstrap.setTimeToLive(TimeValue timeToLive) |
H2RequesterBootstrap |
H2RequesterBootstrap.setTlsStrategy(TlsStrategy tlsStrategy)
Assigns
TlsStrategy instance. |
H2RequesterBootstrap |
H2RequesterBootstrap.setUriPatternType(UriPatternType uriPatternType)
Assigns
UriPatternType for handler registration. |
H2RequesterBootstrap |
H2RequesterBootstrap.setVersionPolicy(HttpVersionPolicy versionPolicy)
Sets HTTP protocol version policy
|
Copyright © 2005–2021 The Apache Software Foundation. All rights reserved.