org.apache.http.nio.protocol
Class NHttpClientHandlerBase
java.lang.Object
org.apache.http.nio.protocol.NHttpHandlerBase
org.apache.http.nio.protocol.NHttpClientHandlerBase
- All Implemented Interfaces:
- NHttpClientHandler
Deprecated.
@Deprecated
public abstract class NHttpClientHandlerBase
- extends NHttpHandlerBase
- implements NHttpClientHandler
Method Summary |
void |
closed(NHttpClientConnection conn)
Deprecated. Triggered when the connection is closed. |
void |
exception(NHttpClientConnection conn,
org.apache.http.HttpException ex)
Deprecated. Triggered when an HTTP protocol violation occurs while receiving
an HTTP response. |
void |
exception(NHttpClientConnection conn,
java.io.IOException ex)
Deprecated. Triggered when an I/O error occurrs while reading from or writing
to the underlying channel. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
execHandler
protected HttpRequestExecutionHandler execHandler
- Deprecated.
NHttpClientHandlerBase
public NHttpClientHandlerBase(org.apache.http.protocol.HttpProcessor httpProcessor,
HttpRequestExecutionHandler execHandler,
org.apache.http.ConnectionReuseStrategy connStrategy,
ByteBufferAllocator allocator,
org.apache.http.params.HttpParams params)
- Deprecated.
closed
public void closed(NHttpClientConnection conn)
- Deprecated.
- Description copied from interface:
NHttpClientHandler
- Triggered when the connection is closed.
- Specified by:
closed
in interface NHttpClientHandler
- Parameters:
conn
- closed HTTP connection.
exception
public void exception(NHttpClientConnection conn,
org.apache.http.HttpException ex)
- Deprecated.
- Description copied from interface:
NHttpClientHandler
- Triggered when an HTTP protocol violation occurs while receiving
an HTTP response.
- Specified by:
exception
in interface NHttpClientHandler
- Parameters:
conn
- HTTP connection that caused an HTTP protocol violationex
- HTTP protocol violation exception
exception
public void exception(NHttpClientConnection conn,
java.io.IOException ex)
- Deprecated.
- Description copied from interface:
NHttpClientHandler
- Triggered when an I/O error occurrs while reading from or writing
to the underlying channel.
- Specified by:
exception
in interface NHttpClientHandler
- Parameters:
conn
- HTTP connection that caused an I/O errorex
- I/O exception
Copyright © 2005-2008 Apache Software Foundation. All Rights Reserved.