org.apache.axis2.transport.nhttp
Class HttpCoreNIOSSLListener

java.lang.Object
  extended by org.apache.axis2.transport.nhttp.HttpCoreNIOListener
      extended by org.apache.axis2.transport.nhttp.HttpCoreNIOSSLListener
All Implemented Interfaces:
TransportListener

public class HttpCoreNIOSSLListener
extends HttpCoreNIOListener


Field Summary
 
Fields inherited from interface org.apache.axis2.transport.TransportListener
HOST_ADDRESS, PARAM_PORT
 
Constructor Summary
HttpCoreNIOSSLListener()
           
 
Method Summary
protected  org.apache.http.nio.reactor.IOEventDispatch getEventDispatch(org.apache.http.nio.NHttpServiceHandler handler, javax.net.ssl.SSLContext sslContext, org.apache.http.impl.nio.reactor.SSLIOSessionHandler sslIOSessionHandler, org.apache.http.params.HttpParams params)
           
protected  java.lang.String getServiceEPRPrefix(ConfigurationContext cfgCtx, java.lang.String host, int port)
          Return the EPR prefix for services made available over this transport
protected  javax.net.ssl.SSLContext getSSLContext(TransportInDescription transportIn)
          Create the SSLContext to be used by this listener
protected  org.apache.http.impl.nio.reactor.SSLIOSessionHandler getSSLIOSessionHandler(TransportInDescription transportIn)
          Create the SSLIOSessionHandler to initialize the SSL session / engine, and request for client authentication at the following levels, through an Axis2 transport configuration parameter as follows: SSLVerifyClient - none, optional, require
 
Methods inherited from class org.apache.axis2.transport.nhttp.HttpCoreNIOListener
destroy, getEPRForService, getEPRsForService, getSessionContext, init, start, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HttpCoreNIOSSLListener

public HttpCoreNIOSSLListener()
Method Detail

getEventDispatch

protected org.apache.http.nio.reactor.IOEventDispatch getEventDispatch(org.apache.http.nio.NHttpServiceHandler handler,
                                                                       javax.net.ssl.SSLContext sslContext,
                                                                       org.apache.http.impl.nio.reactor.SSLIOSessionHandler sslIOSessionHandler,
                                                                       org.apache.http.params.HttpParams params)
Overrides:
getEventDispatch in class HttpCoreNIOListener

getServiceEPRPrefix

protected java.lang.String getServiceEPRPrefix(ConfigurationContext cfgCtx,
                                               java.lang.String host,
                                               int port)
Return the EPR prefix for services made available over this transport

Overrides:
getServiceEPRPrefix in class HttpCoreNIOListener
Returns:

getSSLContext

protected javax.net.ssl.SSLContext getSSLContext(TransportInDescription transportIn)
                                          throws AxisFault
Create the SSLContext to be used by this listener

Overrides:
getSSLContext in class HttpCoreNIOListener
Parameters:
transportIn - the Axis2 transport description
Returns:
the SSLContext to be used
Throws:
AxisFault

getSSLIOSessionHandler

protected org.apache.http.impl.nio.reactor.SSLIOSessionHandler getSSLIOSessionHandler(TransportInDescription transportIn)
                                                                               throws AxisFault
Create the SSLIOSessionHandler to initialize the SSL session / engine, and request for client authentication at the following levels, through an Axis2 transport configuration parameter as follows: SSLVerifyClient - none, optional, require

Parameters:
transportIn - the Axis2 transport configuration
Returns:
the SSLIOSessionHandler to be used
Throws:
AxisFault - if a configuration error occurs


Copyright ? 2007 Apache Web Services Project. All Rights Reserved.