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 ServerBootstrapServerBootstrap.addInterceptorFirst(HttpRequestInterceptor itcp) Adds this protocol interceptor to the head of the protocol processing list.final ServerBootstrapServerBootstrap.addInterceptorFirst(HttpResponseInterceptor itcp) Adds this protocol interceptor to the head of the protocol processing list.final ServerBootstrapServerBootstrap.addInterceptorLast(HttpRequestInterceptor itcp) Adds this protocol interceptor to the tail of the protocol processing list.final ServerBootstrapServerBootstrap.addInterceptorLast(HttpResponseInterceptor itcp) Adds this protocol interceptor to the tail of the protocol processing list.static ServerBootstrapServerBootstrap.bootstrap()final ServerBootstrapServerBootstrap.registerHandler(String pattern, HttpAsyncRequestHandler<?> handler) Registers the givenHttpAsyncRequestHandleras a handler for URIs matching the given pattern.final ServerBootstrapServerBootstrap.setConnectionConfig(ConnectionConfig connectionConfig) Sets connection configuration.final ServerBootstrapServerBootstrap.setConnectionFactory(NHttpConnectionFactory<? extends DefaultNHttpServerConnection> connectionFactory) AssignsNHttpConnectionFactoryinstance.final ServerBootstrapServerBootstrap.setConnectionReuseStrategy(ConnectionReuseStrategy connStrategy) AssignsConnectionReuseStrategyinstance.final ServerBootstrapServerBootstrap.setExceptionLogger(ExceptionLogger exceptionLogger) AssignsExceptionLoggerinstance.final ServerBootstrapServerBootstrap.setExpectationVerifier(HttpAsyncExpectationVerifier expectationVerifier) AssignsHttpAsyncExpectationVerifierinstance.final ServerBootstrapServerBootstrap.setHandlerMapper(HttpAsyncRequestHandlerMapper handlerMapper) AssignsHttpAsyncRequestHandlerMapperinstance.final ServerBootstrapServerBootstrap.setHttpProcessor(HttpProcessor httpProcessor) AssignsHttpProcessorinstance.final ServerBootstrapServerBootstrap.setIOReactorConfig(IOReactorConfig ioReactorConfig) Sets I/O reactor configuration.final ServerBootstrapServerBootstrap.setListenerPort(int listenerPort) Sets listener port number.final ServerBootstrapServerBootstrap.setLocalAddress(InetAddress localAddress) Assigns local interface for the listener.final ServerBootstrapServerBootstrap.setResponseFactory(HttpResponseFactory responseFactory) AssignsHttpResponseFactoryinstance.final ServerBootstrapServerBootstrap.setServerInfo(String serverInfo) AssignsServerresponse header value.final ServerBootstrapServerBootstrap.setSslContext(SSLContext sslContext) AssignsSSLContextinstance.ServerBootstrap.setSslSetupHandler(SSLSetupHandler sslSetupHandler) AssignsSSLSetupHandlerinstance.