Package | Description |
---|---|
org.apache.hc.core5.http2.impl.nio.bootstrap |
HTTP/2 capable requester and server bootstrap.
|
Modifier and Type | Method and Description |
---|---|
static H2MultiplexingRequesterBootstrap |
H2MultiplexingRequesterBootstrap.bootstrap() |
H2MultiplexingRequesterBootstrap |
H2MultiplexingRequesterBootstrap.register(String uriPattern,
Supplier<AsyncPushConsumer> supplier)
Registers the given
AsyncPushConsumer Supplier as a default handler for URIs
matching the given pattern. |
H2MultiplexingRequesterBootstrap |
H2MultiplexingRequesterBootstrap.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. |
H2MultiplexingRequesterBootstrap |
H2MultiplexingRequesterBootstrap.setCharCodingConfig(CharCodingConfig charCodingConfig)
Sets message char coding.
|
H2MultiplexingRequesterBootstrap |
H2MultiplexingRequesterBootstrap.setExceptionCallback(Callback<Exception> exceptionCallback)
|
H2MultiplexingRequesterBootstrap |
H2MultiplexingRequesterBootstrap.setH2Config(H2Config h2Config)
Sets HTTP/2 protocol parameters
|
H2MultiplexingRequesterBootstrap |
H2MultiplexingRequesterBootstrap.setHttpProcessor(HttpProcessor httpProcessor)
Assigns
HttpProcessor instance. |
H2MultiplexingRequesterBootstrap |
H2MultiplexingRequesterBootstrap.setIOReactorConfig(IOReactorConfig ioReactorConfig)
Sets I/O reactor configuration.
|
H2MultiplexingRequesterBootstrap |
H2MultiplexingRequesterBootstrap.setIOSessionDecorator(Decorator<IOSession> ioSessionDecorator)
|
H2MultiplexingRequesterBootstrap |
H2MultiplexingRequesterBootstrap.setIOSessionListener(IOSessionListener sessionListener)
Assigns
IOSessionListener instance. |
H2MultiplexingRequesterBootstrap |
H2MultiplexingRequesterBootstrap.setStreamListener(H2StreamListener streamListener)
Assigns
H2StreamListener instance. |
H2MultiplexingRequesterBootstrap |
H2MultiplexingRequesterBootstrap.setStrictALPNHandshake(boolean strictALPNHandshake) |
H2MultiplexingRequesterBootstrap |
H2MultiplexingRequesterBootstrap.setTlsStrategy(TlsStrategy tlsStrategy)
Assigns
TlsStrategy instance. |
H2MultiplexingRequesterBootstrap |
H2MultiplexingRequesterBootstrap.setUriPatternType(UriPatternType uriPatternType)
Assigns
UriPatternType for handler registration. |
Copyright © 2005–2021 The Apache Software Foundation. All rights reserved.