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)
Adds an filter to the head of the processing list.
|
AsyncServerBootstrap |
AsyncServerBootstrap.addFilterLast(String name,
AsyncFilterHandler filterHandler)
Adds an filter to the tail of the processing list.
|
static AsyncServerBootstrap |
AsyncServerBootstrap.bootstrap()
Creates a new AsyncServerBootstrap instance.
|
<T> AsyncServerBootstrap |
AsyncServerBootstrap.register(String uriPattern,
AsyncServerRequestHandler<T> requestHandler)
Registers the given
AsyncServerRequestHandler as a default handler for URIs
matching the given pattern. |
<T> AsyncServerBootstrap |
AsyncServerBootstrap.register(String hostname,
String uriPattern,
AsyncServerRequestHandler<T> requestHandler)
Registers the given
AsyncServerRequestHandler as a handler for URIs
matching the given host and pattern. |
AsyncServerBootstrap |
AsyncServerBootstrap.register(String hostname,
String uriPattern,
Supplier<AsyncServerExchangeHandler> supplier)
Registers the given
AsyncServerExchangeHandler Supplier as a handler for URIs
matching the given host and 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)
Deprecated.
|
AsyncServerBootstrap |
AsyncServerBootstrap.registerVirtual(String hostname,
String uriPattern,
Supplier<AsyncServerExchangeHandler> supplier)
Deprecated.
|
AsyncServerBootstrap |
AsyncServerBootstrap.replaceFilter(String existing,
AsyncFilterHandler filterHandler)
Replaces 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 char coding configuration.
|
AsyncServerBootstrap |
AsyncServerBootstrap.setConnectionReuseStrategy(ConnectionReuseStrategy connStrategy)
Sets
ConnectionReuseStrategy instance. |
AsyncServerBootstrap |
AsyncServerBootstrap.setExceptionCallback(Callback<Exception> exceptionCallback)
|
AsyncServerBootstrap |
AsyncServerBootstrap.setHttp1Config(Http1Config http1Config)
Sets HTTP/1.1 protocol parameters.
|
AsyncServerBootstrap |
AsyncServerBootstrap.setHttpProcessor(HttpProcessor httpProcessor)
Sets
HttpProcessor instance. |
AsyncServerBootstrap |
AsyncServerBootstrap.setIOReactorConfig(IOReactorConfig ioReactorConfig)
Sets I/O reactor configuration.
|
AsyncServerBootstrap |
AsyncServerBootstrap.setIOSessionDecorator(Decorator<IOSession> ioSessionDecorator)
|
AsyncServerBootstrap |
AsyncServerBootstrap.setIOSessionListener(IOSessionListener sessionListener)
Sets
IOSessionListener instance. |
AsyncServerBootstrap |
AsyncServerBootstrap.setLookupRegistry(LookupRegistry<Supplier<AsyncServerExchangeHandler>> lookupRegistry)
Deprecated.
Use
RequestRouter . |
AsyncServerBootstrap |
AsyncServerBootstrap.setRequestRouter(HttpRequestMapper<Supplier<AsyncServerExchangeHandler>> requestRouter)
Sets
HttpRequestMapper instance. |
AsyncServerBootstrap |
AsyncServerBootstrap.setStreamListener(Http1StreamListener streamListener)
Sets
Http1StreamListener instance. |
AsyncServerBootstrap |
AsyncServerBootstrap.setTlsHandshakeTimeout(Timeout handshakeTimeout)
Sets TLS handshake
Timeout . |
AsyncServerBootstrap |
AsyncServerBootstrap.setTlsStrategy(TlsStrategy tlsStrategy)
Sets
TlsStrategy instance. |
Copyright © 2005–2021 The Apache Software Foundation. All rights reserved.