org.apache.http.nio.protocol
Class NHttpClientHandlerBase

java.lang.Object
  extended by org.apache.http.nio.protocol.NHttpHandlerBase
      extended by org.apache.http.nio.protocol.NHttpClientHandlerBase
All Implemented Interfaces:
NHttpClientHandler

Deprecated. No longer used.

@Deprecated
public abstract class NHttpClientHandlerBase
extends NHttpHandlerBase
implements NHttpClientHandler

Since:
4.0

Field Summary
protected  HttpRequestExecutionHandler execHandler
          Deprecated.  
 
Fields inherited from class org.apache.http.nio.protocol.NHttpHandlerBase
allocator, CONN_STATE, connStrategy, eventListener, httpProcessor, params
 
Constructor Summary
NHttpClientHandlerBase(HttpProcessor httpProcessor, HttpRequestExecutionHandler execHandler, ConnectionReuseStrategy connStrategy, ByteBufferAllocator allocator, HttpParams params)
          Deprecated.  
 
Method Summary
 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.
 
Methods inherited from class org.apache.http.nio.protocol.NHttpHandlerBase
canResponseHaveBody, closeConnection, getParams, handleTimeout, setEventListener, shutdownConnection
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.http.nio.NHttpClientHandler
connected, inputReady, outputReady, requestReady, responseReceived, timeout
 

Field Detail

execHandler

protected HttpRequestExecutionHandler execHandler
Deprecated. 
Constructor Detail

NHttpClientHandlerBase

public NHttpClientHandlerBase(HttpProcessor httpProcessor,
                              HttpRequestExecutionHandler execHandler,
                              ConnectionReuseStrategy connStrategy,
                              ByteBufferAllocator allocator,
                              HttpParams params)
Deprecated. 
Method Detail

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,
                      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 violation
ex - HTTP protocol violation exception

exception

public void exception(NHttpClientConnection conn,
                      IOException ex)
Deprecated. 
Description copied from interface: NHttpClientHandler
Triggered when an I/O error occurs while reading from or writing to the underlying channel.

Specified by:
exception in interface NHttpClientHandler
Parameters:
conn - HTTP connection that caused an I/O error
ex - I/O exception


Copyright © 2005-2009 Apache Software Foundation. All Rights Reserved.