Package org.apache.http.nio.protocol
Class NHttpHandlerBase
java.lang.Object
org.apache.http.nio.protocol.NHttpHandlerBase
- Direct Known Subclasses:
AsyncNHttpClientHandler,AsyncNHttpServiceHandler,ThrottlingHttpClientHandler,ThrottlingHttpServiceHandler
Deprecated.
(4.2) do not use
- Since:
- 4.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final ByteBufferAllocatorDeprecated.protected static final StringDeprecated.protected final ConnectionReuseStrategyDeprecated.protected EventListenerDeprecated.protected final HttpProcessorDeprecated.protected final HttpParamsDeprecated. -
Constructor Summary
ConstructorsConstructorDescriptionNHttpHandlerBase(HttpProcessor httpProcessor, ConnectionReuseStrategy connStrategy, ByteBufferAllocator allocator, HttpParams params) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionprotected booleancanResponseHaveBody(HttpRequest request, HttpResponse response) Deprecated.protected voidcloseConnection(NHttpConnection conn, Throwable cause) Deprecated.Deprecated.protected voidhandleTimeout(NHttpConnection conn) Deprecated.voidsetEventListener(EventListener eventListener) Deprecated.protected voidshutdownConnection(NHttpConnection conn, Throwable cause) Deprecated.
-
Field Details
-
CONN_STATE
Deprecated.- See Also:
-
httpProcessor
Deprecated. -
connStrategy
Deprecated. -
allocator
Deprecated. -
params
Deprecated. -
eventListener
Deprecated.
-
-
Constructor Details
-
NHttpHandlerBase
public NHttpHandlerBase(HttpProcessor httpProcessor, ConnectionReuseStrategy connStrategy, ByteBufferAllocator allocator, HttpParams params) Deprecated.
-
-
Method Details
-
getParams
Deprecated. -
setEventListener
Deprecated. -
closeConnection
Deprecated. -
shutdownConnection
Deprecated. -
handleTimeout
Deprecated. -
canResponseHaveBody
Deprecated.
-