org.apache.http.nio.protocol
Class NHttpHandlerBase
java.lang.Object
org.apache.http.nio.protocol.NHttpHandlerBase
- Direct Known Subclasses:
- AsyncNHttpClientHandler, AsyncNHttpServiceHandler, NHttpClientHandlerBase, NHttpServiceHandlerBase, ThrottlingHttpClientHandler, ThrottlingHttpServiceHandler
public abstract class NHttpHandlerBase
- extends java.lang.Object
Constructor Summary |
NHttpHandlerBase(org.apache.http.protocol.HttpProcessor httpProcessor,
org.apache.http.ConnectionReuseStrategy connStrategy,
ByteBufferAllocator allocator,
org.apache.http.params.HttpParams params)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CONN_STATE
protected static final java.lang.String CONN_STATE
- See Also:
- Constant Field Values
httpProcessor
protected final org.apache.http.protocol.HttpProcessor httpProcessor
connStrategy
protected final org.apache.http.ConnectionReuseStrategy connStrategy
allocator
protected final ByteBufferAllocator allocator
params
protected final org.apache.http.params.HttpParams params
eventListener
protected EventListener eventListener
NHttpHandlerBase
public NHttpHandlerBase(org.apache.http.protocol.HttpProcessor httpProcessor,
org.apache.http.ConnectionReuseStrategy connStrategy,
ByteBufferAllocator allocator,
org.apache.http.params.HttpParams params)
getParams
public org.apache.http.params.HttpParams getParams()
setEventListener
public void setEventListener(EventListener eventListener)
closeConnection
protected void closeConnection(NHttpConnection conn,
java.lang.Throwable cause)
shutdownConnection
protected void shutdownConnection(NHttpConnection conn,
java.lang.Throwable cause)
handleTimeout
protected void handleTimeout(NHttpConnection conn)
canResponseHaveBody
protected boolean canResponseHaveBody(org.apache.http.HttpRequest request,
org.apache.http.HttpResponse response)
Copyright © 2005-2008 Apache Software Foundation. All Rights Reserved.