Uses of Class
org.apache.hc.core5.http.impl.bootstrap.AsyncServerBootstrap
Packages that use AsyncServerBootstrap
Package
Description
HTTP/1.1 requester and server bootstrap.
-
Uses of AsyncServerBootstrap in org.apache.hc.core5.http.impl.bootstrap
Methods in org.apache.hc.core5.http.impl.bootstrap that return AsyncServerBootstrapModifier and TypeMethodDescriptionfinal AsyncServerBootstrapAsyncServerBootstrap.addFilterAfter(String existing, String name, AsyncFilterHandler filterHandler) Adds the filter after the filter with the given name.final AsyncServerBootstrapAsyncServerBootstrap.addFilterBefore(String existing, String name, AsyncFilterHandler filterHandler) Adds the filter before the filter with the given name.final AsyncServerBootstrapAsyncServerBootstrap.addFilterFirst(String name, AsyncFilterHandler filterHandler) Add an filter to the head of the processing list.final AsyncServerBootstrapAsyncServerBootstrap.addFilterLast(String name, AsyncFilterHandler filterHandler) Add an filter to the tail of the processing list.static AsyncServerBootstrapAsyncServerBootstrap.bootstrap()final AsyncServerBootstrapAsyncServerBootstrap.register(String uriPattern, Supplier<AsyncServerExchangeHandler> supplier) Registers the givenAsyncServerExchangeHandlerSupplieras a default handler for URIs matching the given pattern.final <T> AsyncServerBootstrapAsyncServerBootstrap.register(String uriPattern, AsyncServerRequestHandler<T> requestHandler) Registers the givenAsyncServerRequestHandleras a default handler for URIs matching the given pattern.final AsyncServerBootstrapAsyncServerBootstrap.registerVirtual(String hostname, String uriPattern, Supplier<AsyncServerExchangeHandler> supplier) Registers the givenAsyncServerExchangeHandlerSupplieras a handler for URIs matching the given host and the pattern.final <T> AsyncServerBootstrapAsyncServerBootstrap.registerVirtual(String hostname, String uriPattern, AsyncServerRequestHandler<T> requestHandler) Registers the givenAsyncServerRequestHandleras a handler for URIs matching the given host and the pattern.final AsyncServerBootstrapAsyncServerBootstrap.replaceFilter(String existing, AsyncFilterHandler filterHandler) Replace an existing filter with the given name with new filter.final AsyncServerBootstrapAsyncServerBootstrap.setCanonicalHostName(String canonicalHostName) Sets canonical name (fully qualified domain name) of the server.final AsyncServerBootstrapAsyncServerBootstrap.setCharCodingConfig(CharCodingConfig charCodingConfig) Sets connection configuration.final AsyncServerBootstrapAsyncServerBootstrap.setConnectionReuseStrategy(ConnectionReuseStrategy connStrategy) AssignsConnectionReuseStrategyinstance.final AsyncServerBootstrapAsyncServerBootstrap.setExceptionCallback(Callback<Exception> exceptionCallback) final AsyncServerBootstrapAsyncServerBootstrap.setHttp1Config(Http1Config http1Config) Sets HTTP/1.1 protocol parameters.final AsyncServerBootstrapAsyncServerBootstrap.setHttpProcessor(HttpProcessor httpProcessor) AssignsHttpProcessorinstance.final AsyncServerBootstrapAsyncServerBootstrap.setIOReactorConfig(IOReactorConfig ioReactorConfig) Sets I/O reactor configuration.final AsyncServerBootstrapAsyncServerBootstrap.setIOSessionDecorator(Decorator<IOSession> ioSessionDecorator) final AsyncServerBootstrapAsyncServerBootstrap.setIOSessionListener(IOSessionListener sessionListener) AssignsIOSessionListenerinstance.final AsyncServerBootstrapAsyncServerBootstrap.setLookupRegistry(LookupRegistry<Supplier<AsyncServerExchangeHandler>> lookupRegistry) AssignsLookupRegistryinstance.final AsyncServerBootstrapAsyncServerBootstrap.setStreamListener(Http1StreamListener streamListener) AssignsHttp1StreamListenerinstance.final AsyncServerBootstrapAsyncServerBootstrap.setTlsHandshakeTimeout(Timeout handshakeTimeout) Assigns TLS handshakeTimeout.final AsyncServerBootstrapAsyncServerBootstrap.setTlsStrategy(TlsStrategy tlsStrategy) AssignsTlsStrategyinstance.