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 ServerBootstrap
ServerBootstrap.addFilterAfter
(String existing, String name, HttpFilterHandler filterHandler) Adds the filter after the filter with the given name.final ServerBootstrap
ServerBootstrap.addFilterBefore
(String existing, String name, HttpFilterHandler filterHandler) Adds the filter before the filter with the given name.final ServerBootstrap
ServerBootstrap.addFilterFirst
(String name, HttpFilterHandler filterHandler) Add an filter to the head of the processing list.final ServerBootstrap
ServerBootstrap.addFilterLast
(String name, HttpFilterHandler filterHandler) Add an filter to the tail of the processing list.static ServerBootstrap
ServerBootstrap.bootstrap()
final ServerBootstrap
ServerBootstrap.register
(String uriPattern, HttpRequestHandler requestHandler) Registers the givenHttpRequestHandler
as a default handler for URIs matching the given pattern.final ServerBootstrap
ServerBootstrap.registerVirtual
(String hostname, String uriPattern, HttpRequestHandler requestHandler) Registers the givenHttpRequestHandler
as a handler for URIs matching the given host and the pattern.final ServerBootstrap
ServerBootstrap.replaceFilter
(String existing, HttpFilterHandler filterHandler) Replace an existing filter with the given name with new filter.final ServerBootstrap
ServerBootstrap.setCanonicalHostName
(String canonicalHostName) Sets canonical name (fully qualified domain name) of the server.final ServerBootstrap
ServerBootstrap.setCharCodingConfig
(CharCodingConfig charCodingConfig) Sets connection configuration.final ServerBootstrap
ServerBootstrap.setConnectionFactory
(HttpConnectionFactory<? extends DefaultBHttpServerConnection> connectionFactory) AssignsHttpConnectionFactory
instance.final ServerBootstrap
ServerBootstrap.setConnectionReuseStrategy
(ConnectionReuseStrategy connStrategy) AssignsConnectionReuseStrategy
instance.final ServerBootstrap
ServerBootstrap.setExceptionListener
(ExceptionListener exceptionListener) AssignsExceptionListener
instance.final ServerBootstrap
ServerBootstrap.setHttp1Config
(Http1Config http1Config) Sets connection configuration.final ServerBootstrap
ServerBootstrap.setHttpProcessor
(HttpProcessor httpProcessor) AssignsHttpProcessor
instance.final ServerBootstrap
ServerBootstrap.setListenerPort
(int listenerPort) Sets listener port number.final ServerBootstrap
ServerBootstrap.setLocalAddress
(InetAddress localAddress) Assigns local interface for the listener.final ServerBootstrap
ServerBootstrap.setLookupRegistry
(LookupRegistry<HttpRequestHandler> lookupRegistry) AssignsLookupRegistry
instance.final ServerBootstrap
ServerBootstrap.setResponseFactory
(HttpResponseFactory<ClassicHttpResponse> responseFactory) AssignsHttpResponseFactory
instance.final ServerBootstrap
ServerBootstrap.setServerSocketFactory
(ServerSocketFactory serverSocketFactory) AssignsServerSocketFactory
instance.final ServerBootstrap
ServerBootstrap.setSocketConfig
(SocketConfig socketConfig) Sets socket configuration.final ServerBootstrap
ServerBootstrap.setSslContext
(SSLContext sslContext) AssignsSSLContext
instance.final ServerBootstrap
ServerBootstrap.setSslSetupHandler
(Callback<SSLParameters> sslSetupHandler) AssignsCallback
forSSLParameters
.final ServerBootstrap
ServerBootstrap.setStreamListener
(Http1StreamListener streamListener) AssignsExceptionListener
instance.