Uses of Class
org.apache.http.impl.bootstrap.ServerBootstrap
Packages that use ServerBootstrap
-
Uses of ServerBootstrap in org.apache.http.impl.bootstrap
Methods in org.apache.http.impl.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, HttpRequestHandler handler) Registers the givenHttpRequestHandleras a handler for URIs matching the given pattern.final ServerBootstrapServerBootstrap.setConnectionConfig(ConnectionConfig connectionConfig) Sets connection configuration.final ServerBootstrapServerBootstrap.setConnectionFactory(HttpConnectionFactory<? extends DefaultBHttpServerConnection> connectionFactory) AssignsHttpConnectionFactoryinstance.final ServerBootstrapServerBootstrap.setConnectionReuseStrategy(ConnectionReuseStrategy connStrategy) AssignsConnectionReuseStrategyinstance.final ServerBootstrapServerBootstrap.setExceptionLogger(ExceptionLogger exceptionLogger) AssignsExceptionLoggerinstance.final ServerBootstrapServerBootstrap.setExpectationVerifier(HttpExpectationVerifier expectationVerifier) AssignsHttpExpectationVerifierinstance.final ServerBootstrapServerBootstrap.setHandlerMapper(HttpRequestHandlerMapper handlerMapper) AssignsHttpRequestHandlerMapperinstance.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.setResponseFactory(HttpResponseFactory responseFactory) AssignsHttpResponseFactoryinstance.final ServerBootstrapServerBootstrap.setServerInfo(String serverInfo) AssignsServerresponse header value.final ServerBootstrapServerBootstrap.setServerSocketFactory(ServerSocketFactory serverSocketFactory) AssignsServerSocketFactoryinstance.final ServerBootstrapServerBootstrap.setSocketConfig(SocketConfig socketConfig) Sets socket configuration.final ServerBootstrapServerBootstrap.setSslContext(SSLContext sslContext) AssignsSSLContextinstance.final ServerBootstrapServerBootstrap.setSslSetupHandler(SSLServerSetupHandler sslSetupHandler) AssignsSSLServerSetupHandlerinstance.