@Deprecated public abstract class NHttpClientHandlerBase extends NHttpHandlerBase implements NHttpClientHandler
Modifier and Type | Field and Description |
---|---|
protected HttpRequestExecutionHandler |
execHandler
Deprecated.
|
allocator, CONN_STATE, connStrategy, eventListener, httpProcessor, params
Constructor and Description |
---|
NHttpClientHandlerBase(HttpProcessor httpProcessor,
HttpRequestExecutionHandler execHandler,
ConnectionReuseStrategy connStrategy,
ByteBufferAllocator allocator,
HttpParams params)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
closed(NHttpClientConnection conn)
Deprecated.
Triggered when the connection is closed.
|
void |
exception(NHttpClientConnection conn,
HttpException ex)
Deprecated.
Triggered when an HTTP protocol violation occurs while receiving
an HTTP response.
|
void |
exception(NHttpClientConnection conn,
IOException ex)
Deprecated.
Triggered when an I/O error occurs while reading from or writing
to the underlying channel.
|
canResponseHaveBody, closeConnection, getParams, handleTimeout, setEventListener, shutdownConnection
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
connected, inputReady, outputReady, requestReady, responseReceived, timeout
protected HttpRequestExecutionHandler execHandler
public NHttpClientHandlerBase(HttpProcessor httpProcessor, HttpRequestExecutionHandler execHandler, ConnectionReuseStrategy connStrategy, ByteBufferAllocator allocator, HttpParams params)
public void closed(NHttpClientConnection conn)
NHttpClientHandler
closed
in interface NHttpClientHandler
conn
- closed HTTP connection.public void exception(NHttpClientConnection conn, HttpException ex)
NHttpClientHandler
exception
in interface NHttpClientHandler
conn
- HTTP connection that caused an HTTP protocol violationex
- HTTP protocol violation exceptionpublic void exception(NHttpClientConnection conn, IOException ex)
NHttpClientHandler
exception
in interface NHttpClientHandler
conn
- HTTP connection that caused an I/O errorex
- I/O exceptionCopyright © 2005-2012 The Apache Software Foundation. All Rights Reserved.