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 uriPattern, HttpRequestHandler requestHandler) Registers the givenHttpRequestHandleras a default handler for URIs matching the given pattern.final ServerBootstrapServerBootstrap.registerVirtual(String hostname, String uriPattern, HttpRequestHandler requestHandler) Registers the givenHttpRequestHandleras a handler for URIs matching the given host and the pattern.final ServerBootstrapServerBootstrap.replaceFilter(String existing, HttpFilterHandler filterHandler) Replace an existing filter with the given name with new filter.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) AssignsHttpConnectionFactoryinstance.final ServerBootstrapServerBootstrap.setConnectionReuseStrategy(ConnectionReuseStrategy connStrategy) AssignsConnectionReuseStrategyinstance.final ServerBootstrapServerBootstrap.setExceptionListener(ExceptionListener exceptionListener) AssignsExceptionListenerinstance.final ServerBootstrapServerBootstrap.setHttp1Config(Http1Config http1Config) Sets connection configuration.final ServerBootstrapServerBootstrap.setHttpProcessor(HttpProcessor httpProcessor) AssignsHttpProcessorinstance.final ServerBootstrapServerBootstrap.setListenerPort(int listenerPort) Sets listener port number.final ServerBootstrapServerBootstrap.setLocalAddress(InetAddress localAddress) Assigns local interface for the listener.final ServerBootstrapServerBootstrap.setLookupRegistry(LookupRegistry<HttpRequestHandler> lookupRegistry) AssignsLookupRegistryinstance.final ServerBootstrapServerBootstrap.setResponseFactory(HttpResponseFactory<ClassicHttpResponse> responseFactory) AssignsHttpResponseFactoryinstance.final ServerBootstrapServerBootstrap.setServerSocketFactory(ServerSocketFactory serverSocketFactory) AssignsServerSocketFactoryinstance.final ServerBootstrapServerBootstrap.setSocketConfig(SocketConfig socketConfig) Sets socket configuration.final ServerBootstrapServerBootstrap.setSslContext(SSLContext sslContext) AssignsSSLContextinstance.final ServerBootstrapServerBootstrap.setSslSetupHandler(Callback<SSLParameters> sslSetupHandler) AssignsCallbackforSSLParameters.final ServerBootstrapServerBootstrap.setStreamListener(Http1StreamListener streamListener) AssignsExceptionListenerinstance.