org.apache.http.impl.nio
Class DefaultClientIOEventDispatch

java.lang.Object
  extended by org.apache.http.impl.nio.DefaultClientIOEventDispatch
All Implemented Interfaces:
IOEventDispatch

public class DefaultClientIOEventDispatch
extends java.lang.Object
implements IOEventDispatch


Field Summary
protected  ByteBufferAllocator allocator
           
protected  NHttpClientHandler handler
           
protected  HttpParams params
           
 
Constructor Summary
DefaultClientIOEventDispatch(NHttpClientHandler handler, HttpParams params)
           
 
Method Summary
 void connected(IOSession session)
           
protected  ByteBufferAllocator createByteBufferAllocator()
           
protected  NHttpClientIOTarget createConnection(IOSession session)
           
protected  HttpResponseFactory createHttpResponseFactory()
           
 void disconnected(IOSession session)
           
 void inputReady(IOSession session)
           
 void outputReady(IOSession session)
           
 void timeout(IOSession session)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

allocator

protected final ByteBufferAllocator allocator

handler

protected final NHttpClientHandler handler

params

protected final HttpParams params
Constructor Detail

DefaultClientIOEventDispatch

public DefaultClientIOEventDispatch(NHttpClientHandler handler,
                                    HttpParams params)
Method Detail

createByteBufferAllocator

protected ByteBufferAllocator createByteBufferAllocator()

createHttpResponseFactory

protected HttpResponseFactory createHttpResponseFactory()

createConnection

protected NHttpClientIOTarget createConnection(IOSession session)

connected

public void connected(IOSession session)
Specified by:
connected in interface IOEventDispatch

disconnected

public void disconnected(IOSession session)
Specified by:
disconnected in interface IOEventDispatch

inputReady

public void inputReady(IOSession session)
Specified by:
inputReady in interface IOEventDispatch

outputReady

public void outputReady(IOSession session)
Specified by:
outputReady in interface IOEventDispatch

timeout

public void timeout(IOSession session)
Specified by:
timeout in interface IOEventDispatch


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