public class PassThroughHttpSSLSender extends PassThroughHttpSender
Modifier and Type | Class and Description |
---|---|
static class |
PassThroughHttpSSLSender.NoValidateCertTrustManager
Trust manager accepting any certificate.
|
log
Constructor and Description |
---|
PassThroughHttpSSLSender() |
Modifier and Type | Method and Description |
---|---|
protected org.apache.http.nio.reactor.IOEventDispatch |
getEventDispatch(org.apache.http.nio.NHttpClientEventHandler handler,
SSLContext sslContext,
org.apache.http.nio.reactor.ssl.SSLSetupHandler sslSetupHandler,
org.apache.http.config.ConnectionConfig config,
org.apache.axis2.description.TransportOutDescription transportOut)
Return the IOEventDispatch implementation to be used.
|
protected SSLContext |
getSSLContext(org.apache.axis2.description.TransportOutDescription transportOut)
Create the SSLContext to be used by this sender
|
protected org.apache.http.nio.reactor.ssl.SSLSetupHandler |
getSSLSetupHandler(org.apache.axis2.description.TransportOutDescription transportOut)
Create the SSLIOSessionHandler to initialize the host name verification at the following
levels, through an Axis2 transport configuration parameter as follows:
HostnameVerifier - Default, DefaultAndLocalhost, Strict, AllowAll
|
cleanup, init, invoke, maintenanceShutdown, pause, resume, stop, submitResponse
flowComplete, getHandlerDesc, getName, getParameter, init, toString
protected org.apache.http.nio.reactor.IOEventDispatch getEventDispatch(org.apache.http.nio.NHttpClientEventHandler handler, SSLContext sslContext, org.apache.http.nio.reactor.ssl.SSLSetupHandler sslSetupHandler, org.apache.http.config.ConnectionConfig config, org.apache.axis2.description.TransportOutDescription transportOut) throws org.apache.axis2.AxisFault
PassThroughHttpSender
getEventDispatch
in class PassThroughHttpSender
handler
- The passthru target handler instancesslContext
- SSL context used by the sender or nullsslSetupHandler
- SSL session handler or nullconfig
- ConnectionConfig instancetransportOut
- Transport out descriptionorg.apache.axis2.AxisFault
- on errorprotected SSLContext getSSLContext(org.apache.axis2.description.TransportOutDescription transportOut) throws org.apache.axis2.AxisFault
getSSLContext
in class PassThroughHttpSender
transportOut
- the Axis2 transport configurationorg.apache.axis2.AxisFault
- if an error occursprotected org.apache.http.nio.reactor.ssl.SSLSetupHandler getSSLSetupHandler(org.apache.axis2.description.TransportOutDescription transportOut) throws org.apache.axis2.AxisFault
getSSLSetupHandler
in class PassThroughHttpSender
transportOut
- the Axis2 transport configurationorg.apache.axis2.AxisFault
- if a configuration error occursCopyright © 2005-2017 Apache Software Foundation. All Rights Reserved.