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.ObjectDeprecated.(4.2) do not use- Since:
- 4.0
-
-
Field Summary
Fields Modifier and Type Field Description protected ByteBufferAllocatorallocatorDeprecated.protected static java.lang.StringCONN_STATEDeprecated.protected org.apache.http.ConnectionReuseStrategyconnStrategyDeprecated.protected EventListenereventListenerDeprecated.protected org.apache.http.protocol.HttpProcessorhttpProcessorDeprecated.protected org.apache.http.params.HttpParamsparamsDeprecated.
-
Constructor Summary
Constructors Constructor Description NHttpHandlerBase(org.apache.http.protocol.HttpProcessor httpProcessor, org.apache.http.ConnectionReuseStrategy connStrategy, ByteBufferAllocator allocator, org.apache.http.params.HttpParams params)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected booleancanResponseHaveBody(org.apache.http.HttpRequest request, org.apache.http.HttpResponse response)Deprecated.protected voidcloseConnection(NHttpConnection conn, java.lang.Throwable cause)Deprecated.org.apache.http.params.HttpParamsgetParams()Deprecated.protected voidhandleTimeout(NHttpConnection conn)Deprecated.voidsetEventListener(EventListener eventListener)Deprecated.protected voidshutdownConnection(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 org.apache.http.protocol.HttpProcessor httpProcessor
Deprecated.
-
connStrategy
protected final org.apache.http.ConnectionReuseStrategy connStrategy
Deprecated.
-
allocator
protected final ByteBufferAllocator allocator
Deprecated.
-
params
protected final org.apache.http.params.HttpParams params
Deprecated.
-
eventListener
protected EventListener eventListener
Deprecated.
-
-
Constructor Detail
-
NHttpHandlerBase
public NHttpHandlerBase(org.apache.http.protocol.HttpProcessor httpProcessor, org.apache.http.ConnectionReuseStrategy connStrategy, ByteBufferAllocator allocator, org.apache.http.params.HttpParams params)Deprecated.
-
-
Method Detail
-
getParams
public org.apache.http.params.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(org.apache.http.HttpRequest request, org.apache.http.HttpResponse response)Deprecated.
-
-