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) Adds an filter to the head of the processing list.final AsyncServerBootstrapAsyncServerBootstrap.addFilterLast(String name, AsyncFilterHandler filterHandler) Adds an filter to the tail of the processing list.static AsyncServerBootstrapAsyncServerBootstrap.bootstrap()Creates a new AsyncServerBootstrap instance.final AsyncServerBootstrapAsyncServerBootstrap.register(String hostname, String uriPattern, Supplier<AsyncServerExchangeHandler> supplier) Registers the givenAsyncServerExchangeHandlerSupplieras a handler for URIs matching the given host and pattern.final <T> AsyncServerBootstrapAsyncServerBootstrap.register(String hostname, String uriPattern, AsyncServerRequestHandler<T> requestHandler) Registers the givenAsyncServerRequestHandleras a handler for URIs matching the given host and pattern.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) Deprecated.final <T> AsyncServerBootstrapAsyncServerBootstrap.registerVirtual(String hostname, String uriPattern, AsyncServerRequestHandler<T> requestHandler) Deprecated.final AsyncServerBootstrapAsyncServerBootstrap.replaceFilter(String existing, AsyncFilterHandler filterHandler) Replaces an existing filter with the given name with new filter.final AsyncServerBootstrapAsyncServerBootstrap.setAuthorityResolver(BiFunction<String, URIAuthority, URIAuthority> authorityResolver) Sets authority resolver to be used when creating theRequestRouter.final AsyncServerBootstrapAsyncServerBootstrap.setCanonicalHostName(String canonicalHostName) Sets canonical name (fully qualified domain name) of the server.final AsyncServerBootstrapAsyncServerBootstrap.setCharCodingConfig(CharCodingConfig charCodingConfig) Sets char coding configuration.final AsyncServerBootstrapAsyncServerBootstrap.setConnectionReuseStrategy(ConnectionReuseStrategy connStrategy) SetsConnectionReuseStrategyinstance.final AsyncServerBootstrapAsyncServerBootstrap.setExceptionCallback(Callback<Exception> exceptionCallback) final AsyncServerBootstrapAsyncServerBootstrap.setHttp1Config(Http1Config http1Config) Sets HTTP/1.1 protocol parameters.final AsyncServerBootstrapAsyncServerBootstrap.setHttpProcessor(HttpProcessor httpProcessor) SetsHttpProcessorinstance.final AsyncServerBootstrapAsyncServerBootstrap.setIOReactorConfig(IOReactorConfig ioReactorConfig) Sets I/O reactor configuration.final AsyncServerBootstrapAsyncServerBootstrap.setIOReactorMetricsListener(IOReactorMetricsListener threadPoolListener) SetsIOReactorMetricsListenerinstance.final AsyncServerBootstrapAsyncServerBootstrap.setIOSessionDecorator(Decorator<IOSession> ioSessionDecorator) final AsyncServerBootstrapAsyncServerBootstrap.setIOSessionListener(IOSessionListener sessionListener) SetsIOSessionListenerinstance.final AsyncServerBootstrapAsyncServerBootstrap.setLookupRegistry(LookupRegistry<Supplier<AsyncServerExchangeHandler>> lookupRegistry) Deprecated.UseRequestRouter.final AsyncServerBootstrapAsyncServerBootstrap.setRequestRouter(HttpRequestMapper<Supplier<AsyncServerExchangeHandler>> requestRouter) SetsHttpRequestMapperinstance.final AsyncServerBootstrapAsyncServerBootstrap.setStreamListener(Http1StreamListener streamListener) SetsHttp1StreamListenerinstance.final AsyncServerBootstrapAsyncServerBootstrap.setTlsHandshakeTimeout(Timeout handshakeTimeout) Sets TLS handshakeTimeout.final AsyncServerBootstrapAsyncServerBootstrap.setTlsStrategy(TlsStrategy tlsStrategy) SetsTlsStrategyinstance.
register(String, String, Supplier).