Package | Description |
---|---|
org.apache.http.impl.nio.bootstrap |
Embedded non-blocking server and server bootstrap.
|
Modifier and Type | Method and Description |
---|---|
ServerBootstrap |
ServerBootstrap.addInterceptorFirst(HttpRequestInterceptor itcp)
Adds this protocol interceptor to the head of the protocol processing list.
|
ServerBootstrap |
ServerBootstrap.addInterceptorFirst(HttpResponseInterceptor itcp)
Adds this protocol interceptor to the head of the protocol processing list.
|
ServerBootstrap |
ServerBootstrap.addInterceptorLast(HttpRequestInterceptor itcp)
Adds this protocol interceptor to the tail of the protocol processing list.
|
ServerBootstrap |
ServerBootstrap.addInterceptorLast(HttpResponseInterceptor itcp)
Adds this protocol interceptor to the tail of the protocol processing list.
|
static ServerBootstrap |
ServerBootstrap.bootstrap() |
ServerBootstrap |
ServerBootstrap.registerHandler(String pattern,
HttpAsyncRequestHandler<?> handler)
Registers the given
HttpAsyncRequestHandler
as a handler for URIs matching the given pattern. |
ServerBootstrap |
ServerBootstrap.setConnectionConfig(ConnectionConfig connectionConfig)
Sets connection configuration.
|
ServerBootstrap |
ServerBootstrap.setConnectionFactory(NHttpConnectionFactory<? extends DefaultNHttpServerConnection> connectionFactory)
Assigns
NHttpConnectionFactory instance. |
ServerBootstrap |
ServerBootstrap.setConnectionReuseStrategy(ConnectionReuseStrategy connStrategy)
Assigns
ConnectionReuseStrategy instance. |
ServerBootstrap |
ServerBootstrap.setExceptionLogger(ExceptionLogger exceptionLogger)
Assigns
ExceptionLogger instance. |
ServerBootstrap |
ServerBootstrap.setExpectationVerifier(HttpAsyncExpectationVerifier expectationVerifier)
Assigns
HttpAsyncExpectationVerifier instance. |
ServerBootstrap |
ServerBootstrap.setHandlerMapper(HttpAsyncRequestHandlerMapper handlerMapper)
Assigns
HttpAsyncRequestHandlerMapper instance. |
ServerBootstrap |
ServerBootstrap.setHttpProcessor(HttpProcessor httpProcessor)
Assigns
HttpProcessor instance. |
ServerBootstrap |
ServerBootstrap.setIOReactorConfig(IOReactorConfig ioReactorConfig)
Sets I/O reactor configuration.
|
ServerBootstrap |
ServerBootstrap.setListenerPort(int listenerPort)
Sets listener port number.
|
ServerBootstrap |
ServerBootstrap.setLocalAddress(InetAddress localAddress)
Assigns local interface for the listener.
|
ServerBootstrap |
ServerBootstrap.setResponseFactory(HttpResponseFactory responseFactory)
Assigns
HttpResponseFactory instance. |
ServerBootstrap |
ServerBootstrap.setServerInfo(String serverInfo)
Assigns
Server response header value. |
ServerBootstrap |
ServerBootstrap.setSslContext(SSLContext sslContext)
Assigns
SSLContext instance. |
ServerBootstrap |
ServerBootstrap.setSslSetupHandler(SSLSetupHandler sslSetupHandler)
Assigns
SSLSetupHandler instance. |
Copyright © 2005–2022 The Apache Software Foundation. All rights reserved.