Uses of Class
org.apache.hc.core5.http.impl.bootstrap.ServerBootstrap
Packages that use ServerBootstrap
Package
Description
HTTP/1.1 requester and server bootstrap.
-
Uses of ServerBootstrap in org.apache.hc.core5.http.impl.bootstrap
Methods in org.apache.hc.core5.http.impl.bootstrap that return ServerBootstrapModifier and TypeMethodDescriptionfinal ServerBootstrapServerBootstrap.addFilterAfter(String existing, String name, HttpFilterHandler filterHandler) Adds the filter after the filter with the given name.final ServerBootstrapServerBootstrap.addFilterBefore(String existing, String name, HttpFilterHandler filterHandler) Adds the filter before the filter with the given name.final ServerBootstrapServerBootstrap.addFilterFirst(String name, HttpFilterHandler filterHandler) Add an filter to the head of the processing list.final ServerBootstrapServerBootstrap.addFilterLast(String name, HttpFilterHandler filterHandler) Add an filter to the tail of the processing list.static ServerBootstrapServerBootstrap.bootstrap()final ServerBootstrapServerBootstrap.register(String hostname, String uriPattern, HttpRequestHandler requestHandler) Registers the givenHttpRequestHandleras a handler for URIs matching the given host and the pattern.final ServerBootstrapServerBootstrap.register(String uriPattern, HttpRequestHandler requestHandler) Registers the givenHttpRequestHandleras a default handler for URIs matching the given pattern.final ServerBootstrapServerBootstrap.registerVirtual(String hostname, String uriPattern, HttpRequestHandler requestHandler) Deprecated.final ServerBootstrapServerBootstrap.replaceFilter(String existing, HttpFilterHandler filterHandler) Replace an existing filter with the given name with new filter.final ServerBootstrapServerBootstrap.setAuthorityResolver(BiFunction<String, URIAuthority, URIAuthority> authorityResolver) Sets authority resolver to be used when creating theRequestRouter.final ServerBootstrapServerBootstrap.setCanonicalHostName(String canonicalHostName) Sets canonical name (fully qualified domain name) of the server.final ServerBootstrapServerBootstrap.setCharCodingConfig(CharCodingConfig charCodingConfig) Sets connection configuration.final ServerBootstrapServerBootstrap.setConnectionFactory(HttpConnectionFactory<? extends DefaultBHttpServerConnection> connectionFactory) SetsHttpConnectionFactoryinstance.final ServerBootstrapServerBootstrap.setConnectionReuseStrategy(ConnectionReuseStrategy connStrategy) SetsConnectionReuseStrategyinstance.final ServerBootstrapServerBootstrap.setExceptionListener(ExceptionListener exceptionListener) SetsExceptionListenerinstance.final ServerBootstrapServerBootstrap.setHttp1Config(Http1Config http1Config) Sets HTTP/1 protocol configuration.final ServerBootstrapServerBootstrap.setHttpProcessor(HttpProcessor httpProcessor) SetsHttpProcessorinstance.final ServerBootstrapServerBootstrap.setListenerPort(int listenerPort) Sets listener port number.final ServerBootstrapServerBootstrap.setLocalAddress(InetAddress localAddress) Sets local interface for the listener.final ServerBootstrapServerBootstrap.setLookupRegistry(LookupRegistry<HttpRequestHandler> lookupRegistry) Deprecated.UseRequestRouter.final ServerBootstrapServerBootstrap.setRequestRouter(HttpRequestMapper<HttpRequestHandler> requestRouter) SetsHttpRequestMapperinstance.final ServerBootstrapServerBootstrap.setResponseFactory(HttpResponseFactory<ClassicHttpResponse> responseFactory) SetsHttpResponseFactoryinstance.final ServerBootstrapServerBootstrap.setServerSocketFactory(ServerSocketFactory serverSocketFactory) SetsServerSocketFactoryinstance.final ServerBootstrapServerBootstrap.setSocketConfig(SocketConfig socketConfig) Sets socket configuration.final ServerBootstrapServerBootstrap.setSslContext(SSLContext sslContext) SetsSSLContextinstance.final ServerBootstrapServerBootstrap.setSslSetupHandler(Callback<SSLParameters> sslSetupHandler) SetsCallbackforSSLParameters.final ServerBootstrapServerBootstrap.setStreamListener(Http1StreamListener streamListener) SetsExceptionListenerinstance.
ServerBootstrap.register(String, String, HttpRequestHandler).