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 public abstract class NHttpHandlerBase extends java.lang.Object
Deprecated.(4.2) do not use- Since:
- 4.0
-
-
Field Summary
Fields Modifier and Type Field Description protected ByteBufferAllocator
allocator
Deprecated.protected static java.lang.String
CONN_STATE
Deprecated.protected ConnectionReuseStrategy
connStrategy
Deprecated.protected EventListener
eventListener
Deprecated.protected HttpProcessor
httpProcessor
Deprecated.protected HttpParams
params
Deprecated.
-
Constructor Summary
Constructors Constructor Description NHttpHandlerBase(HttpProcessor httpProcessor, ConnectionReuseStrategy connStrategy, ByteBufferAllocator allocator, HttpParams params)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected boolean
canResponseHaveBody(HttpRequest request, HttpResponse response)
Deprecated.protected void
closeConnection(NHttpConnection conn, java.lang.Throwable cause)
Deprecated.HttpParams
getParams()
Deprecated.protected void
handleTimeout(NHttpConnection conn)
Deprecated.void
setEventListener(EventListener eventListener)
Deprecated.protected void
shutdownConnection(NHttpConnection conn, java.lang.Throwable cause)
Deprecated.
-
-
-
Field Detail
-
CONN_STATE
protected static final java.lang.String CONN_STATE
Deprecated.- See Also:
- Constant Field Values
-
httpProcessor
protected final HttpProcessor httpProcessor
Deprecated.
-
connStrategy
protected final ConnectionReuseStrategy connStrategy
Deprecated.
-
allocator
protected final ByteBufferAllocator allocator
Deprecated.
-
params
protected final HttpParams params
Deprecated.
-
eventListener
protected EventListener eventListener
Deprecated.
-
-
Constructor Detail
-
NHttpHandlerBase
public NHttpHandlerBase(HttpProcessor httpProcessor, ConnectionReuseStrategy connStrategy, ByteBufferAllocator allocator, HttpParams params)
Deprecated.
-
-
Method Detail
-
getParams
public HttpParams getParams()
Deprecated.
-
setEventListener
public void setEventListener(EventListener eventListener)
Deprecated.
-
closeConnection
protected void closeConnection(NHttpConnection conn, java.lang.Throwable cause)
Deprecated.
-
shutdownConnection
protected void shutdownConnection(NHttpConnection conn, java.lang.Throwable cause)
Deprecated.
-
handleTimeout
protected void handleTimeout(NHttpConnection conn)
Deprecated.
-
canResponseHaveBody
protected boolean canResponseHaveBody(HttpRequest request, HttpResponse response)
Deprecated.
-
-