org.apache.http.nio.protocol
Class NHttpHandlerBase
java.lang.Object
org.apache.http.nio.protocol.NHttpHandlerBase
- Direct Known Subclasses:
- NHttpClientHandlerBase, NHttpServiceHandlerBase
public abstract class NHttpHandlerBase
- extends java.lang.Object
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 HttpProcessor httpProcessor
connStrategy
protected final ConnectionReuseStrategy connStrategy
allocator
protected final ByteBufferAllocator allocator
params
protected final HttpParams params
eventListener
protected EventListener eventListener
NHttpHandlerBase
public NHttpHandlerBase(HttpProcessor httpProcessor,
ConnectionReuseStrategy connStrategy,
ByteBufferAllocator allocator,
HttpParams params)
getParams
public HttpParams getParams()
setEventListener
public void setEventListener(EventListener eventListener)
closeConnection
protected void closeConnection(HttpConnection conn,
java.lang.Throwable cause)
shutdownConnection
protected void shutdownConnection(HttpConnection conn,
java.lang.Throwable cause)
canResponseHaveBody
protected boolean canResponseHaveBody(HttpRequest request,
HttpResponse response)
Copyright © 2005-2009 Apache Software Foundation. All Rights Reserved.