Package | Description |
---|---|
org.apache.hc.core5.http.impl.bootstrap |
HTTP/1.1 requester and server bootstrap.
|
Modifier and Type | Method and Description |
---|---|
AsyncServerBootstrap |
AsyncServerBootstrap.addFilterAfter(String existing,
String name,
AsyncFilterHandler filterHandler)
Adds the filter after the filter with the given name.
|
AsyncServerBootstrap |
AsyncServerBootstrap.addFilterBefore(String existing,
String name,
AsyncFilterHandler filterHandler)
Adds the filter before the filter with the given name.
|
AsyncServerBootstrap |
AsyncServerBootstrap.addFilterFirst(String name,
AsyncFilterHandler filterHandler)
Add an filter to the head of the processing list.
|
AsyncServerBootstrap |
AsyncServerBootstrap.addFilterLast(String name,
AsyncFilterHandler filterHandler)
Add an filter to the tail of the processing list.
|
static AsyncServerBootstrap |
AsyncServerBootstrap.bootstrap() |
<T> AsyncServerBootstrap |
AsyncServerBootstrap.register(String uriPattern,
AsyncServerRequestHandler<T> requestHandler)
Registers the given
AsyncServerRequestHandler as a default handler for URIs
matching the given pattern. |
AsyncServerBootstrap |
AsyncServerBootstrap.register(String uriPattern,
Supplier<AsyncServerExchangeHandler> supplier)
Registers the given
AsyncServerExchangeHandler Supplier as a default handler for URIs
matching the given pattern. |
<T> AsyncServerBootstrap |
AsyncServerBootstrap.registerVirtual(String hostname,
String uriPattern,
AsyncServerRequestHandler<T> requestHandler)
Registers the given
AsyncServerRequestHandler as a handler for URIs
matching the given host and the pattern. |
AsyncServerBootstrap |
AsyncServerBootstrap.registerVirtual(String hostname,
String uriPattern,
Supplier<AsyncServerExchangeHandler> supplier)
Registers the given
AsyncServerExchangeHandler Supplier as a handler for URIs
matching the given host and the pattern. |
AsyncServerBootstrap |
AsyncServerBootstrap.replaceFilter(String existing,
AsyncFilterHandler filterHandler)
Replace an existing filter with the given name with new filter.
|
AsyncServerBootstrap |
AsyncServerBootstrap.setCanonicalHostName(String canonicalHostName)
Sets canonical name (fully qualified domain name) of the server.
|
AsyncServerBootstrap |
AsyncServerBootstrap.setCharCodingConfig(CharCodingConfig charCodingConfig)
Sets connection configuration.
|
AsyncServerBootstrap |
AsyncServerBootstrap.setConnectionReuseStrategy(ConnectionReuseStrategy connStrategy)
Assigns
ConnectionReuseStrategy instance. |
AsyncServerBootstrap |
AsyncServerBootstrap.setExceptionCallback(Callback<Exception> exceptionCallback)
|
AsyncServerBootstrap |
AsyncServerBootstrap.setHttp1Config(Http1Config http1Config)
Sets HTTP/1.1 protocol parameters.
|
AsyncServerBootstrap |
AsyncServerBootstrap.setHttpProcessor(HttpProcessor httpProcessor)
Assigns
HttpProcessor instance. |
AsyncServerBootstrap |
AsyncServerBootstrap.setIOReactorConfig(IOReactorConfig ioReactorConfig)
Sets I/O reactor configuration.
|
AsyncServerBootstrap |
AsyncServerBootstrap.setIOSessionDecorator(Decorator<IOSession> ioSessionDecorator)
|
AsyncServerBootstrap |
AsyncServerBootstrap.setIOSessionListener(IOSessionListener sessionListener)
Assigns
IOSessionListener instance. |
AsyncServerBootstrap |
AsyncServerBootstrap.setLookupRegistry(LookupRegistry<Supplier<AsyncServerExchangeHandler>> lookupRegistry)
Assigns
LookupRegistry instance. |
AsyncServerBootstrap |
AsyncServerBootstrap.setStreamListener(Http1StreamListener streamListener)
Assigns
Http1StreamListener instance. |
AsyncServerBootstrap |
AsyncServerBootstrap.setTlsHandshakeTimeout(Timeout handshakeTimeout)
Assigns TLS handshake
Timeout . |
AsyncServerBootstrap |
AsyncServerBootstrap.setTlsStrategy(TlsStrategy tlsStrategy)
Assigns
TlsStrategy instance. |
Copyright © 2005–2021 The Apache Software Foundation. All rights reserved.