public abstract class

NHttpClientHandlerBase

extends NHttpHandlerBase
implements NHttpClientHandler
java.lang.Object
   ↳ org.apache.http.nio.protocol.NHttpHandlerBase
     ↳ org.apache.http.nio.protocol.NHttpClientHandlerBase

This class is deprecated.
No longer used.

Summary

[Expand]
Inherited Constants
From class org.apache.http.nio.protocol.NHttpHandlerBase
Fields
protected HttpRequestExecutionHandler execHandler
[Expand]
Inherited Fields
From class org.apache.http.nio.protocol.NHttpHandlerBase
Public Constructors
NHttpClientHandlerBase(HttpProcessor httpProcessor, HttpRequestExecutionHandler execHandler, ConnectionReuseStrategy connStrategy, ByteBufferAllocator allocator, HttpParams params)
Public Methods
void closed(NHttpClientConnection conn)
Triggered when the connection is closed.
void exception(NHttpClientConnection conn, HttpException ex)
Triggered when an HTTP protocol violation occurs while receiving an HTTP response.
void exception(NHttpClientConnection conn, IOException ex)
Triggered when an I/O error occurs while reading from or writing to the underlying channel.
[Expand]
Inherited Methods
From class org.apache.http.nio.protocol.NHttpHandlerBase
From class java.lang.Object
From interface org.apache.http.nio.NHttpClientHandler

Fields

protected HttpRequestExecutionHandler execHandler

Public Constructors

public NHttpClientHandlerBase (HttpProcessor httpProcessor, HttpRequestExecutionHandler execHandler, ConnectionReuseStrategy connStrategy, ByteBufferAllocator allocator, HttpParams params)

Public Methods

public void closed (NHttpClientConnection conn)

Triggered when the connection is closed.

Parameters
conn closed HTTP connection.

public void exception (NHttpClientConnection conn, HttpException ex)

Triggered when an HTTP protocol violation occurs while receiving an HTTP response.

Parameters
conn HTTP connection that caused an HTTP protocol violation
ex HTTP protocol violation exception

public void exception (NHttpClientConnection conn, IOException ex)

Triggered when an I/O error occurs while reading from or writing to the underlying channel.

Parameters
conn HTTP connection that caused an I/O error
ex I/O exception