Package | Description |
---|---|
org.apache.http |
Core HTTP components based on the blocking I/O model.
|
org.apache.http.impl |
Default implementations for interfaces in
org.apache.http . |
org.apache.http.impl.io |
Default implementations for interfaces in
org.apache.http.io . |
org.apache.http.impl.nio |
Default implementations for interfaces in
org.apache.http.nio . |
org.apache.http.impl.nio.codecs |
Default implementations for interfaces in
org.apache.http.nio.codecs . |
org.apache.http.impl.nio.pool |
Basic implementations for interfaces in
org.apache.http.nio.pool . |
org.apache.http.impl.nio.reactor |
Default implementations for interfaces in
org.apache.http.nio including default
I/O reactor implementations and support for SSL/TLS transport security. |
org.apache.http.impl.nio.ssl |
Deprecated
|
org.apache.http.impl.pool |
Basic implementations for interfaces in
org.apache.http.pool . |
org.apache.http.message |
Basic HTTP message implementations.
|
org.apache.http.nio.params |
HTTP parameters for I/O reactors based on NIO model.
|
org.apache.http.nio.protocol |
Asynchronous HTTP protocol handlers based on the non-blocking I/O model.
|
org.apache.http.params |
The parameterization framework for HTTP components.
|
org.apache.http.protocol |
HTTP protocol execution framework and synchronous HTTP protocol handlers
based on the blocking I/O model.
|
Modifier and Type | Method and Description |
---|---|
HttpParams |
HttpMessage.getParams()
Returns the parameters effective for this message as set by
HttpMessage.setParams(HttpParams) . |
Modifier and Type | Method and Description |
---|---|
void |
HttpMessage.setParams(HttpParams params)
Provides parameters to be used for the processing of this message.
|
Modifier and Type | Method and Description |
---|---|
void |
DefaultHttpClientConnection.bind(Socket socket,
HttpParams params) |
protected void |
SocketHttpClientConnection.bind(Socket socket,
HttpParams params)
Binds this connection to the given
Socket . |
protected void |
SocketHttpServerConnection.bind(Socket socket,
HttpParams params)
Binds this connection to the given
Socket . |
void |
DefaultHttpServerConnection.bind(Socket socket,
HttpParams params) |
protected HttpMessageParser<HttpRequest> |
AbstractHttpServerConnection.createRequestParser(SessionInputBuffer buffer,
HttpRequestFactory requestFactory,
HttpParams params)
Creates an instance of
HttpMessageParser to be used for parsing
HTTP requests received over this connection. |
protected HttpMessageWriter<HttpRequest> |
AbstractHttpClientConnection.createRequestWriter(SessionOutputBuffer buffer,
HttpParams params)
Creates an instance of
HttpMessageWriter to be used for
writing out HTTP requests sent over this connection. |
protected HttpMessageParser<HttpResponse> |
AbstractHttpClientConnection.createResponseParser(SessionInputBuffer buffer,
HttpResponseFactory responseFactory,
HttpParams params)
Creates an instance of
HttpMessageParser to be used for parsing
HTTP responses received over this connection. |
protected HttpMessageWriter<HttpResponse> |
AbstractHttpServerConnection.createResponseWriter(SessionOutputBuffer buffer,
HttpParams params)
Creates an instance of
HttpMessageWriter to be used for
writing out HTTP responses sent over this connection. |
protected SessionInputBuffer |
SocketHttpClientConnection.createSessionInputBuffer(Socket socket,
int buffersize,
HttpParams params)
Creates an instance of
SocketInputBuffer to be used for
receiving data from the given Socket . |
protected SessionInputBuffer |
SocketHttpServerConnection.createSessionInputBuffer(Socket socket,
int buffersize,
HttpParams params)
Creates an instance of
SocketInputBuffer to be used for
receiving data from the given Socket . |
protected SessionOutputBuffer |
SocketHttpClientConnection.createSessionOutputBuffer(Socket socket,
int buffersize,
HttpParams params)
Creates an instance of
SessionOutputBuffer to be used for
sending data to the given Socket . |
protected SessionOutputBuffer |
SocketHttpServerConnection.createSessionOutputBuffer(Socket socket,
int buffersize,
HttpParams params)
Creates an instance of
SessionOutputBuffer to be used for
sending data to the given Socket . |
protected void |
AbstractHttpClientConnection.init(SessionInputBuffer inbuffer,
SessionOutputBuffer outbuffer,
HttpParams params)
Initializes this connection object with
SessionInputBuffer and
SessionOutputBuffer instances to be used for sending and
receiving data. |
protected void |
AbstractHttpServerConnection.init(SessionInputBuffer inbuffer,
SessionOutputBuffer outbuffer,
HttpParams params)
Initializes this connection object with
SessionInputBuffer and
SessionOutputBuffer instances to be used for sending and
receiving data. |
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractSessionInputBuffer.init(InputStream instream,
int buffersize,
HttpParams params)
Initializes this session input buffer.
|
protected void |
AbstractSessionOutputBuffer.init(OutputStream outstream,
int buffersize,
HttpParams params)
Initializes this session output buffer.
|
Constructor and Description |
---|
AbstractMessageParser(SessionInputBuffer buffer,
LineParser parser,
HttpParams params)
Creates an instance of this class.
|
AbstractMessageWriter(SessionOutputBuffer buffer,
LineFormatter formatter,
HttpParams params)
Creates an instance of AbstractMessageWriter.
|
DefaultHttpRequestParser(SessionInputBuffer buffer,
LineParser parser,
HttpRequestFactory requestFactory,
HttpParams params)
Creates an instance of this class.
|
DefaultHttpResponseParser(SessionInputBuffer buffer,
LineParser parser,
HttpResponseFactory responseFactory,
HttpParams params)
Creates an instance of this class.
|
HttpRequestParser(SessionInputBuffer buffer,
LineParser parser,
HttpRequestFactory requestFactory,
HttpParams params)
Deprecated.
Creates an instance of this class.
|
HttpRequestWriter(SessionOutputBuffer buffer,
LineFormatter formatter,
HttpParams params) |
HttpResponseParser(SessionInputBuffer buffer,
LineParser parser,
HttpResponseFactory responseFactory,
HttpParams params)
Deprecated.
Creates an instance of this class.
|
HttpResponseWriter(SessionOutputBuffer buffer,
LineFormatter formatter,
HttpParams params) |
SocketInputBuffer(Socket socket,
int buffersize,
HttpParams params)
Creates an instance of this class.
|
SocketOutputBuffer(Socket socket,
int buffersize,
HttpParams params)
Creates an instance of this class.
|
Modifier and Type | Field and Description |
---|---|
protected HttpParams |
DefaultServerIOEventDispatch.params
Deprecated.
|
protected HttpParams |
SSLClientIOEventDispatch.params
Deprecated.
|
protected HttpParams |
DefaultClientIOEventDispatch.params
Deprecated.
|
protected HttpParams |
SSLServerIOEventDispatch.params
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected DefaultNHttpServerConnection |
SSLNHttpServerConnectionFactory.createConnection(IOSession session,
HttpRequestFactory requestFactory,
ByteBufferAllocator allocator,
HttpParams params) |
protected DefaultNHttpServerConnection |
DefaultNHttpServerConnectionFactory.createConnection(IOSession session,
HttpRequestFactory requestFactory,
ByteBufferAllocator allocator,
HttpParams params) |
protected DefaultNHttpClientConnection |
DefaultNHttpClientConnectionFactory.createConnection(IOSession session,
HttpResponseFactory responseFactory,
ByteBufferAllocator allocator,
HttpParams params) |
protected DefaultNHttpClientConnection |
SSLNHttpClientConnectionFactory.createConnection(IOSession session,
HttpResponseFactory responseFactory,
ByteBufferAllocator allocator,
HttpParams params) |
protected NHttpMessageParser<HttpRequest> |
DefaultNHttpServerConnection.createRequestParser(SessionInputBuffer buffer,
HttpRequestFactory requestFactory,
HttpParams params)
Creates an instance of
NHttpMessageParser to be used
by this connection for parsing incoming HttpRequest messages. |
protected NHttpMessageWriter<HttpRequest> |
DefaultNHttpClientConnection.createRequestWriter(SessionOutputBuffer buffer,
HttpParams params)
Creates an instance of
NHttpMessageWriter to be used
by this connection for writing out outgoing HttpRequest messages. |
protected NHttpMessageParser<HttpResponse> |
DefaultNHttpClientConnection.createResponseParser(SessionInputBuffer buffer,
HttpResponseFactory responseFactory,
HttpParams params)
Creates an instance of
NHttpMessageParser to be used
by this connection for parsing incoming HttpResponse messages. |
protected NHttpMessageWriter<HttpResponse> |
DefaultNHttpServerConnection.createResponseWriter(SessionOutputBuffer buffer,
HttpParams params)
Creates an instance of
NHttpMessageWriter to be used
by this connection for writing out outgoing HttpResponse
messages. |
Constructor and Description |
---|
DefaultClientIOEventDispatch(NHttpClientHandler handler,
HttpParams params)
Deprecated.
Creates a new instance of this class to be used for dispatching I/O event
notifications to the given protocol handler.
|
DefaultHttpClientIODispatch(NHttpClientEventHandler handler,
HttpParams params) |
DefaultHttpClientIODispatch(NHttpClientEventHandler handler,
SSLContext sslcontext,
HttpParams params) |
DefaultHttpClientIODispatch(NHttpClientEventHandler handler,
SSLContext sslcontext,
SSLSetupHandler sslHandler,
HttpParams params) |
DefaultHttpServerIODispatch(NHttpServerEventHandler handler,
HttpParams params) |
DefaultHttpServerIODispatch(NHttpServerEventHandler handler,
SSLContext sslcontext,
HttpParams params) |
DefaultHttpServerIODispatch(NHttpServerEventHandler handler,
SSLContext sslcontext,
SSLSetupHandler sslHandler,
HttpParams params) |
DefaultNHttpClientConnection(IOSession session,
HttpResponseFactory responseFactory,
ByteBufferAllocator allocator,
HttpParams params)
Creates a new instance of this class given the underlying I/O session.
|
DefaultNHttpClientConnectionFactory(HttpParams params) |
DefaultNHttpClientConnectionFactory(HttpResponseFactory responseFactory,
ByteBufferAllocator allocator,
HttpParams params) |
DefaultNHttpServerConnection(IOSession session,
HttpRequestFactory requestFactory,
ByteBufferAllocator allocator,
HttpParams params)
Creates a new instance of this class given the underlying I/O session.
|
DefaultNHttpServerConnectionFactory(HttpParams params) |
DefaultNHttpServerConnectionFactory(HttpRequestFactory requestFactory,
ByteBufferAllocator allocator,
HttpParams params) |
DefaultServerIOEventDispatch(NHttpServiceHandler handler,
HttpParams params)
Deprecated.
Creates a new instance of this class to be used for dispatching I/O event
notifications to the given protocol handler.
|
NHttpConnectionBase(IOSession session,
ByteBufferAllocator allocator,
HttpParams params)
Creates a new instance of this class given the underlying I/O session.
|
SSLClientIOEventDispatch(NHttpClientHandler handler,
SSLContext sslcontext,
HttpParams params)
Deprecated.
Creates a new instance of this class to be used for dispatching I/O event
notifications to the given protocol handler using the given
SSLContext . |
SSLClientIOEventDispatch(NHttpClientHandler handler,
SSLContext sslcontext,
SSLIOSessionHandler sslHandler,
HttpParams params)
Deprecated.
Creates a new instance of this class to be used for dispatching I/O event
notifications to the given protocol handler using the given
SSLContext . |
SSLNHttpClientConnectionFactory(HttpParams params) |
SSLNHttpClientConnectionFactory(SSLContext sslcontext,
SSLSetupHandler sslHandler,
HttpParams params) |
SSLNHttpClientConnectionFactory(SSLContext sslcontext,
SSLSetupHandler sslHandler,
HttpResponseFactory responseFactory,
ByteBufferAllocator allocator,
HttpParams params) |
SSLNHttpServerConnectionFactory(HttpParams params) |
SSLNHttpServerConnectionFactory(SSLContext sslcontext,
SSLSetupHandler sslHandler,
HttpParams params) |
SSLNHttpServerConnectionFactory(SSLContext sslcontext,
SSLSetupHandler sslHandler,
HttpRequestFactory requestFactory,
ByteBufferAllocator allocator,
HttpParams params) |
SSLServerIOEventDispatch(NHttpServiceHandler handler,
SSLContext sslcontext,
HttpParams params)
Deprecated.
Creates a new instance of this class to be used for dispatching I/O event
notifications to the given protocol handler using the given
SSLContext . |
SSLServerIOEventDispatch(NHttpServiceHandler handler,
SSLContext sslcontext,
SSLIOSessionHandler sslHandler,
HttpParams params)
Deprecated.
Creates a new instance of this class to be used for dispatching I/O event
notifications to the given protocol handler using the given
SSLContext . |
Constructor and Description |
---|
BasicNIOConnFactory(HttpParams params) |
BasicNIOConnFactory(SSLContext sslcontext,
SSLSetupHandler sslHandler,
HttpParams params) |
BasicNIOConnFactory(SSLContext sslcontext,
SSLSetupHandler sslHandler,
HttpResponseFactory responseFactory,
ByteBufferAllocator allocator,
HttpParams params) |
BasicNIOConnPool(ConnectingIOReactor ioreactor,
HttpParams params) |
BasicNIOConnPool(ConnectingIOReactor ioreactor,
NIOConnFactory<HttpHost,NHttpClientConnection> connFactory,
HttpParams params) |
Modifier and Type | Field and Description |
---|---|
protected HttpParams |
AbstractMultiworkerIOReactor.params
Deprecated.
(4.2)
|
Modifier and Type | Method and Description |
---|---|
void |
SSLIOSession.bind(SSLMode mode,
HttpParams params)
Deprecated.
|
void |
SSLSetupHandler.initalize(SSLEngine sslengine,
HttpParams params)
Deprecated.
Triggered when the SSL connection is being initialized.
|
void |
SSLIOSessionHandler.initalize(SSLEngine sslengine,
HttpParams params)
Deprecated.
Triggered when the SSL connection is being initialized.
|
void |
SessionOutputBufferImpl.reset(HttpParams params) |
Constructor and Description |
---|
AbstractMultiworkerIOReactor(int workerCount,
ThreadFactory threadFactory,
HttpParams params)
|
DefaultConnectingIOReactor(int workerCount,
HttpParams params)
Deprecated.
|
DefaultConnectingIOReactor(int workerCount,
ThreadFactory threadFactory,
HttpParams params)
Deprecated.
|
DefaultListeningIOReactor(int workerCount,
HttpParams params)
Deprecated.
|
DefaultListeningIOReactor(int workerCount,
ThreadFactory threadFactory,
HttpParams params)
Deprecated.
|
SessionInputBufferImpl(int buffersize,
int linebuffersize,
ByteBufferAllocator allocator,
HttpParams params) |
SessionInputBufferImpl(int buffersize,
int linebuffersize,
HttpParams params) |
SessionOutputBufferImpl(int buffersize,
int linebuffersize,
ByteBufferAllocator allocator,
HttpParams params) |
SessionOutputBufferImpl(int buffersize,
int linebuffersize,
HttpParams params) |
Constructor and Description |
---|
SSLClientIOEventDispatch(NHttpClientHandler handler,
SSLContext sslcontext,
HttpParams params)
Deprecated.
Creates a new instance of this class to be used for dispatching I/O event
notifications to the given protocol handler using the given
SSLContext . |
SSLClientIOEventDispatch(NHttpClientHandler handler,
SSLContext sslcontext,
SSLSetupHandler sslHandler,
HttpParams params)
Deprecated.
Creates a new instance of this class to be used for dispatching I/O event
notifications to the given protocol handler using the given
SSLContext . |
SSLServerIOEventDispatch(NHttpServiceHandler handler,
SSLContext sslcontext,
HttpParams params)
Deprecated.
Creates a new instance of this class to be used for dispatching I/O event
notifications to the given protocol handler using the given
SSLContext . |
SSLServerIOEventDispatch(NHttpServiceHandler handler,
SSLContext sslcontext,
SSLSetupHandler sslHandler,
HttpParams params)
Deprecated.
Creates a new instance of this class to be used for dispatching I/O event
notifications to the given protocol handler using the given
SSLContext . |
Modifier and Type | Method and Description |
---|---|
protected HttpClientConnection |
BasicConnFactory.create(Socket socket,
HttpParams params) |
Constructor and Description |
---|
BasicConnFactory(HttpParams params) |
BasicConnFactory(SSLSocketFactory sslfactory,
HttpParams params) |
BasicConnPool(HttpParams params) |
Modifier and Type | Field and Description |
---|---|
protected HttpParams |
AbstractHttpMessage.params |
Modifier and Type | Method and Description |
---|---|
HttpParams |
AbstractHttpMessage.getParams() |
Modifier and Type | Method and Description |
---|---|
void |
AbstractHttpMessage.setParams(HttpParams params) |
Constructor and Description |
---|
AbstractHttpMessage(HttpParams params) |
Modifier and Type | Method and Description |
---|---|
static int |
NIOReactorParams.getContentBufferSize(HttpParams params)
Deprecated.
Obtains the value of
NIOReactorPNames.CONTENT_BUFFER_SIZE parameter. |
static long |
NIOReactorParams.getGracePeriod(HttpParams params)
Deprecated.
Obtains the value of
NIOReactorPNames.GRACE_PERIOD parameter. |
static boolean |
NIOReactorParams.getInterestOpsQueueing(HttpParams params)
Deprecated.
Obtains the value of
NIOReactorPNames.INTEREST_OPS_QUEUEING parameter. |
static long |
NIOReactorParams.getSelectInterval(HttpParams params)
Deprecated.
Obtains the value of
NIOReactorPNames.SELECT_INTERVAL parameter. |
static void |
NIOReactorParams.setContentBufferSize(HttpParams params,
int size)
Deprecated.
Sets value of the
NIOReactorPNames.CONTENT_BUFFER_SIZE parameter. |
static void |
NIOReactorParams.setGracePeriod(HttpParams params,
long ms)
Deprecated.
Sets value of the
NIOReactorPNames.GRACE_PERIOD parameter. |
static void |
NIOReactorParams.setInterestOpsQueueing(HttpParams params,
boolean interestOpsQueueing)
Deprecated.
Sets value of the
NIOReactorPNames.INTEREST_OPS_QUEUEING parameter. |
static void |
NIOReactorParams.setSelectInterval(HttpParams params,
long ms)
Deprecated.
Sets value of the
NIOReactorPNames.SELECT_INTERVAL parameter. |
Constructor and Description |
---|
NIOReactorParamBean(HttpParams params)
Deprecated.
|
Modifier and Type | Field and Description |
---|---|
protected HttpParams |
NHttpHandlerBase.params
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
HttpParams |
NHttpHandlerBase.getParams()
Deprecated.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractHttpParams
Abstract base class for parameter collections.
|
class |
BasicHttpParams
Default implementation of
HttpParams interface. |
class |
DefaultedHttpParams
HttpParams implementation that delegates resolution of a parameter
to the given default HttpParams instance if the parameter is not
present in the local one. |
class |
SyncBasicHttpParams
Thread-safe extension of the
BasicHttpParams . |
Modifier and Type | Field and Description |
---|---|
protected HttpParams |
HttpAbstractParamBean.params |
Modifier and Type | Method and Description |
---|---|
HttpParams |
HttpParams.copy()
Deprecated.
(4.1)
|
HttpParams |
DefaultedHttpParams.copy()
Deprecated.
(4.1)
|
HttpParams |
BasicHttpParams.copy()
Deprecated.
(4.1)
|
HttpParams |
DefaultedHttpParams.getDefaults()
Deprecated.
(4.1.1) do not use, will be removed in a later version
|
HttpParams |
HttpParams.setBooleanParameter(String name,
boolean value)
Assigns a
Boolean to the parameter with the given name |
HttpParams |
AbstractHttpParams.setBooleanParameter(String name,
boolean value) |
HttpParams |
HttpParams.setDoubleParameter(String name,
double value)
Assigns a
Double to the parameter with the given name |
HttpParams |
AbstractHttpParams.setDoubleParameter(String name,
double value) |
HttpParams |
HttpParams.setIntParameter(String name,
int value)
Assigns an
Integer to the parameter with the given name |
HttpParams |
AbstractHttpParams.setIntParameter(String name,
int value) |
HttpParams |
HttpParams.setLongParameter(String name,
long value)
Assigns a
Long to the parameter with the given name |
HttpParams |
AbstractHttpParams.setLongParameter(String name,
long value) |
HttpParams |
HttpParams.setParameter(String name,
Object value)
Assigns the value to the parameter with the given name.
|
HttpParams |
DefaultedHttpParams.setParameter(String name,
Object value)
Sets the parameter in the local collection.
|
HttpParams |
BasicHttpParams.setParameter(String name,
Object value) |
HttpParams |
SyncBasicHttpParams.setParameter(String name,
Object value) |
Modifier and Type | Method and Description |
---|---|
void |
BasicHttpParams.copyParams(HttpParams target)
Copies the locally defined parameters to the argument parameters.
|
static int |
HttpConnectionParams.getConnectionTimeout(HttpParams params)
Obtains value of the
CoreConnectionPNames.CONNECTION_TIMEOUT
parameter. |
static String |
HttpProtocolParams.getContentCharset(HttpParams params)
Obtains value of the
CoreProtocolPNames.HTTP_CONTENT_CHARSET parameter. |
static String |
HttpProtocolParams.getHttpElementCharset(HttpParams params)
Obtains value of the
CoreProtocolPNames.HTTP_ELEMENT_CHARSET parameter. |
static int |
HttpConnectionParams.getLinger(HttpParams params)
Obtains value of the
CoreConnectionPNames.SO_LINGER parameter. |
static CodingErrorAction |
HttpProtocolParams.getMalformedInputAction(HttpParams params)
Obtains value of the
CoreProtocolPNames.HTTP_MALFORMED_INPUT_ACTION parameter. |
static int |
HttpConnectionParams.getSocketBufferSize(HttpParams params)
Obtains value of the
CoreConnectionPNames.SOCKET_BUFFER_SIZE
parameter. |
static boolean |
HttpConnectionParams.getSoKeepalive(HttpParams params)
Obtains value of the
CoreConnectionPNames.SO_KEEPALIVE parameter. |
static boolean |
HttpConnectionParams.getSoReuseaddr(HttpParams params)
Obtains value of the
CoreConnectionPNames.SO_REUSEADDR parameter. |
static int |
HttpConnectionParams.getSoTimeout(HttpParams params)
Obtains value of the
CoreConnectionPNames.SO_TIMEOUT parameter. |
static boolean |
HttpConnectionParams.getTcpNoDelay(HttpParams params)
Obtains value of the
CoreConnectionPNames.TCP_NODELAY parameter. |
static CodingErrorAction |
HttpProtocolParams.getUnmappableInputAction(HttpParams params)
Obtains the value of the
CoreProtocolPNames.HTTP_UNMAPPABLE_INPUT_ACTION parameter. |
static String |
HttpProtocolParams.getUserAgent(HttpParams params)
Obtains value of the
CoreProtocolPNames.USER_AGENT parameter. |
static ProtocolVersion |
HttpProtocolParams.getVersion(HttpParams params)
Obtains value of the
CoreProtocolPNames.PROTOCOL_VERSION parameter. |
static boolean |
HttpConnectionParams.isStaleCheckingEnabled(HttpParams params)
Obtains value of the
CoreConnectionPNames.STALE_CONNECTION_CHECK
parameter. |
static void |
HttpConnectionParams.setConnectionTimeout(HttpParams params,
int timeout)
Sets value of the
CoreConnectionPNames.CONNECTION_TIMEOUT
parameter. |
static void |
HttpProtocolParams.setContentCharset(HttpParams params,
String charset)
Sets value of the
CoreProtocolPNames.HTTP_CONTENT_CHARSET parameter. |
static void |
HttpProtocolParams.setHttpElementCharset(HttpParams params,
String charset)
Sets value of the
CoreProtocolPNames.HTTP_ELEMENT_CHARSET parameter. |
static void |
HttpConnectionParams.setLinger(HttpParams params,
int value)
Sets value of the
CoreConnectionPNames.SO_LINGER parameter. |
static void |
HttpProtocolParams.setMalformedInputAction(HttpParams params,
CodingErrorAction action)
Sets value of the
CoreProtocolPNames.HTTP_MALFORMED_INPUT_ACTION parameter. |
static void |
HttpConnectionParams.setSocketBufferSize(HttpParams params,
int size)
Sets value of the
CoreConnectionPNames.SOCKET_BUFFER_SIZE
parameter. |
static void |
HttpConnectionParams.setSoKeepalive(HttpParams params,
boolean enableKeepalive)
Sets value of the
CoreConnectionPNames.SO_KEEPALIVE parameter. |
static void |
HttpConnectionParams.setSoReuseaddr(HttpParams params,
boolean reuseaddr)
Sets value of the
CoreConnectionPNames.SO_REUSEADDR parameter. |
static void |
HttpConnectionParams.setSoTimeout(HttpParams params,
int timeout)
Sets value of the
CoreConnectionPNames.SO_TIMEOUT parameter. |
static void |
HttpConnectionParams.setStaleCheckingEnabled(HttpParams params,
boolean value)
Sets value of the
CoreConnectionPNames.STALE_CONNECTION_CHECK
parameter. |
static void |
HttpConnectionParams.setTcpNoDelay(HttpParams params,
boolean value)
Sets value of the
CoreConnectionPNames.TCP_NODELAY parameter. |
static void |
HttpProtocolParams.setUnmappableInputAction(HttpParams params,
CodingErrorAction action)
Sets the value of the
CoreProtocolPNames.HTTP_UNMAPPABLE_INPUT_ACTION parameter. |
static void |
HttpProtocolParams.setUseExpectContinue(HttpParams params,
boolean b)
Sets value of the
CoreProtocolPNames.USE_EXPECT_CONTINUE parameter. |
static void |
HttpProtocolParams.setUserAgent(HttpParams params,
String useragent)
Sets value of the
CoreProtocolPNames.USER_AGENT parameter. |
static void |
HttpProtocolParams.setVersion(HttpParams params,
ProtocolVersion version)
Sets value of the
CoreProtocolPNames.PROTOCOL_VERSION parameter. |
static boolean |
HttpProtocolParams.useExpectContinue(HttpParams params)
Obtains value of the
CoreProtocolPNames.USE_EXPECT_CONTINUE parameter. |
Constructor and Description |
---|
DefaultedHttpParams(HttpParams local,
HttpParams defaults)
Create the defaulted set of HttpParams.
|
HttpAbstractParamBean(HttpParams params) |
HttpConnectionParamBean(HttpParams params) |
HttpProtocolParamBean(HttpParams params) |
Modifier and Type | Method and Description |
---|---|
HttpParams |
HttpService.getParams() |
Modifier and Type | Method and Description |
---|---|
void |
HttpService.setParams(HttpParams params)
Deprecated.
(4.1) set
HttpResponseFactory using constructor |
Constructor and Description |
---|
HttpService(HttpProcessor processor,
ConnectionReuseStrategy connStrategy,
HttpResponseFactory responseFactory,
HttpRequestHandlerResolver handlerResolver,
HttpExpectationVerifier expectationVerifier,
HttpParams params)
Create a new HTTP service.
|
HttpService(HttpProcessor processor,
ConnectionReuseStrategy connStrategy,
HttpResponseFactory responseFactory,
HttpRequestHandlerResolver handlerResolver,
HttpParams params)
Create a new HTTP service.
|
Copyright © 2005-2015 The Apache Software Foundation. All Rights Reserved.