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 ByteBufferAllocator
Deprecated.protected static final String
Deprecated.protected final ConnectionReuseStrategy
Deprecated.protected EventListener
Deprecated.protected final HttpProcessor
Deprecated.protected final HttpParams
Deprecated. -
Constructor Summary
ConstructorsConstructorDescriptionNHttpHandlerBase
(HttpProcessor httpProcessor, ConnectionReuseStrategy connStrategy, ByteBufferAllocator allocator, HttpParams params) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
canResponseHaveBody
(HttpRequest request, HttpResponse response) Deprecated.protected void
closeConnection
(NHttpConnection conn, Throwable cause) Deprecated.Deprecated.protected void
handleTimeout
(NHttpConnection conn) Deprecated.void
setEventListener
(EventListener eventListener) Deprecated.protected void
shutdownConnection
(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.
-