Uses of Class
org.apache.http.impl.nio.bootstrap.ServerBootstrap
Packages that use ServerBootstrap
Package
Description
Embedded non-blocking server and server bootstrap.
-
Uses of ServerBootstrap in org.apache.http.impl.nio.bootstrap
Methods in org.apache.http.impl.nio.bootstrap that return ServerBootstrapModifier and TypeMethodDescriptionfinal ServerBootstrap
ServerBootstrap.addInterceptorFirst
(HttpRequestInterceptor itcp) Adds this protocol interceptor to the head of the protocol processing list.final ServerBootstrap
ServerBootstrap.addInterceptorFirst
(HttpResponseInterceptor itcp) Adds this protocol interceptor to the head of the protocol processing list.final ServerBootstrap
ServerBootstrap.addInterceptorLast
(HttpRequestInterceptor itcp) Adds this protocol interceptor to the tail of the protocol processing list.final ServerBootstrap
ServerBootstrap.addInterceptorLast
(HttpResponseInterceptor itcp) Adds this protocol interceptor to the tail of the protocol processing list.static ServerBootstrap
ServerBootstrap.bootstrap()
final ServerBootstrap
ServerBootstrap.registerHandler
(String pattern, HttpAsyncRequestHandler<?> handler) Registers the givenHttpAsyncRequestHandler
as a handler for URIs matching the given pattern.final ServerBootstrap
ServerBootstrap.setConnectionConfig
(ConnectionConfig connectionConfig) Sets connection configuration.final ServerBootstrap
ServerBootstrap.setConnectionFactory
(NHttpConnectionFactory<? extends DefaultNHttpServerConnection> connectionFactory) AssignsNHttpConnectionFactory
instance.final ServerBootstrap
ServerBootstrap.setConnectionReuseStrategy
(ConnectionReuseStrategy connStrategy) AssignsConnectionReuseStrategy
instance.final ServerBootstrap
ServerBootstrap.setExceptionLogger
(ExceptionLogger exceptionLogger) AssignsExceptionLogger
instance.final ServerBootstrap
ServerBootstrap.setExpectationVerifier
(HttpAsyncExpectationVerifier expectationVerifier) AssignsHttpAsyncExpectationVerifier
instance.final ServerBootstrap
ServerBootstrap.setHandlerMapper
(HttpAsyncRequestHandlerMapper handlerMapper) AssignsHttpAsyncRequestHandlerMapper
instance.final ServerBootstrap
ServerBootstrap.setHttpProcessor
(HttpProcessor httpProcessor) AssignsHttpProcessor
instance.final ServerBootstrap
ServerBootstrap.setIOReactorConfig
(IOReactorConfig ioReactorConfig) Sets I/O reactor configuration.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.setResponseFactory
(HttpResponseFactory responseFactory) AssignsHttpResponseFactory
instance.final ServerBootstrap
ServerBootstrap.setServerInfo
(String serverInfo) AssignsServer
response header value.final ServerBootstrap
ServerBootstrap.setSslContext
(SSLContext sslContext) AssignsSSLContext
instance.ServerBootstrap.setSslSetupHandler
(SSLSetupHandler sslSetupHandler) AssignsSSLSetupHandler
instance.