org.apache.http.impl.nio
Class SSLServerIOEventDispatch

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

public class SSLServerIOEventDispatch
extends java.lang.Object
implements IOEventDispatch


Field Summary
protected  NHttpServiceHandler handler
           
protected  HttpParams params
           
protected  javax.net.ssl.SSLContext sslcontext
           
protected  SSLIOSessionHandler sslHandler
           
 
Constructor Summary
SSLServerIOEventDispatch(NHttpServiceHandler handler, javax.net.ssl.SSLContext sslcontext, HttpParams params)
           
SSLServerIOEventDispatch(NHttpServiceHandler handler, javax.net.ssl.SSLContext sslcontext, SSLIOSessionHandler sslHandler, HttpParams params)
           
 
Method Summary
 void connected(IOSession session)
           
protected  ByteBufferAllocator createByteBufferAllocator()
           
protected  NHttpServerIOTarget createConnection(IOSession session)
           
protected  HttpRequestFactory createHttpRequestFactory()
           
protected  SSLIOSession createSSLIOSession(IOSession session, javax.net.ssl.SSLContext sslcontext, SSLIOSessionHandler sslHandler)
           
 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

handler

protected final NHttpServiceHandler handler

sslcontext

protected final javax.net.ssl.SSLContext sslcontext

sslHandler

protected final SSLIOSessionHandler sslHandler

params

protected final HttpParams params
Constructor Detail

SSLServerIOEventDispatch

public SSLServerIOEventDispatch(NHttpServiceHandler handler,
                                javax.net.ssl.SSLContext sslcontext,
                                SSLIOSessionHandler sslHandler,
                                HttpParams params)

SSLServerIOEventDispatch

public SSLServerIOEventDispatch(NHttpServiceHandler handler,
                                javax.net.ssl.SSLContext sslcontext,
                                HttpParams params)
Method Detail

createByteBufferAllocator

protected ByteBufferAllocator createByteBufferAllocator()

createHttpRequestFactory

protected HttpRequestFactory createHttpRequestFactory()

createConnection

protected NHttpServerIOTarget createConnection(IOSession session)

createSSLIOSession

protected SSLIOSession createSSLIOSession(IOSession session,
                                          javax.net.ssl.SSLContext sslcontext,
                                          SSLIOSessionHandler sslHandler)

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.