public class HttpCoreNIOSSLSender extends HttpCoreNIOSender
Constructor and Description |
---|
HttpCoreNIOSSLSender() |
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, getActiveThreadCount, getAvgSizeReceived, getAvgSizeSent, getBytesReceived, getBytesSent, getFaultsReceiving, getFaultsSending, getLastResetTime, getMaxSizeReceived, getMaxSizeSent, getMessagesReceived, getMessagesSent, getMetricsWindow, getMinSizeReceived, getMinSizeSent, getQueueSize, getResponseCodeTable, getTimeoutsReceiving, getTimeoutsSending, init, invoke, maintenenceShutdown, pause, resetStatistics, resume, stop
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
HttpCoreNIOSender
getEventDispatch
in class HttpCoreNIOSender
handler
- The NHTTP client handler instancesslContext
- SSL context used by the sender or nullsslSetupHandler
- SSL session handler or nullconfig
- ConnectionConfig objecttransportOut
- Transport out descriptionorg.apache.axis2.AxisFault
- on errorprotected SSLContext getSSLContext(org.apache.axis2.description.TransportOutDescription transportOut) throws org.apache.axis2.AxisFault
getSSLContext
in class HttpCoreNIOSender
transportOut
- the Axis2 transport configurationorg.apache.axis2.AxisFault
- on errorprotected org.apache.http.nio.reactor.ssl.SSLSetupHandler getSSLSetupHandler(org.apache.axis2.description.TransportOutDescription transportOut) throws org.apache.axis2.AxisFault
getSSLSetupHandler
in class HttpCoreNIOSender
transportOut
- the Axis2 transport configurationorg.apache.axis2.AxisFault
- if a configuration error occursCopyright © 2005-2017 Apache Software Foundation. All Rights Reserved.