public class PassThroughHttpSender
extends org.apache.axis2.handlers.AbstractHandler
implements org.apache.axis2.transport.TransportSender
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.commons.logging.Log |
log |
| Constructor and Description |
|---|
PassThroughHttpSender() |
| Modifier and Type | Method and Description |
|---|---|
void |
cleanup(org.apache.axis2.context.MessageContext messageContext) |
protected org.apache.http.nio.reactor.IOEventDispatch |
getEventDispatch(org.apache.http.nio.NHttpClientEventHandler handler,
SSLContext sslContext,
org.apache.http.nio.reactor.ssl.SSLSetupHandler sslIOSessionHandler,
org.apache.http.config.ConnectionConfig config,
org.apache.axis2.description.TransportOutDescription trpOut)
Return the IOEventDispatch implementation to be used.
|
protected SSLContext |
getSSLContext(org.apache.axis2.description.TransportOutDescription transportOut)
Always return null, as this implementation does not support outgoing SSL
|
protected org.apache.http.nio.reactor.ssl.SSLSetupHandler |
getSSLSetupHandler(org.apache.axis2.description.TransportOutDescription transportOut)
Create the SSL IO Session handler to be used by this listener
|
void |
init(org.apache.axis2.context.ConfigurationContext configurationContext,
org.apache.axis2.description.TransportOutDescription transportOutDescription) |
org.apache.axis2.engine.Handler.InvocationResponse |
invoke(org.apache.axis2.context.MessageContext msgContext) |
void |
maintenanceShutdown(long millis) |
void |
pause() |
void |
resume() |
void |
stop() |
void |
submitResponse(org.apache.axis2.context.MessageContext msgContext) |
flowComplete, getHandlerDesc, getName, getParameter, init, toStringpublic void init(org.apache.axis2.context.ConfigurationContext configurationContext,
org.apache.axis2.description.TransportOutDescription transportOutDescription)
throws org.apache.axis2.AxisFault
init in interface org.apache.axis2.transport.TransportSenderorg.apache.axis2.AxisFaultpublic void cleanup(org.apache.axis2.context.MessageContext messageContext)
throws org.apache.axis2.AxisFault
cleanup in interface org.apache.axis2.transport.TransportSenderorg.apache.axis2.AxisFaultpublic void stop()
stop in interface org.apache.axis2.transport.TransportSenderpublic org.apache.axis2.engine.Handler.InvocationResponse invoke(org.apache.axis2.context.MessageContext msgContext)
throws org.apache.axis2.AxisFault
invoke in interface org.apache.axis2.engine.Handlerorg.apache.axis2.AxisFaultprotected org.apache.http.nio.reactor.IOEventDispatch getEventDispatch(org.apache.http.nio.NHttpClientEventHandler handler,
SSLContext sslContext,
org.apache.http.nio.reactor.ssl.SSLSetupHandler sslIOSessionHandler,
org.apache.http.config.ConnectionConfig config,
org.apache.axis2.description.TransportOutDescription trpOut)
throws org.apache.axis2.AxisFault
handler - The passthru target handler instancesslContext - SSL context used by the sender or nullsslIOSessionHandler - SSL session handler or nullconfig - ConnectionConfig instancetrpOut - Transport out descriptionorg.apache.axis2.AxisFault - on errorprotected SSLContext getSSLContext(org.apache.axis2.description.TransportOutDescription transportOut) throws org.apache.axis2.AxisFault
transportOut - The transport out descriptionorg.apache.axis2.AxisFault - on errorprotected org.apache.http.nio.reactor.ssl.SSLSetupHandler getSSLSetupHandler(org.apache.axis2.description.TransportOutDescription transportOut)
throws org.apache.axis2.AxisFault
transportOut - Transport out descriptionorg.apache.axis2.AxisFault - on errorpublic void submitResponse(org.apache.axis2.context.MessageContext msgContext)
throws IOException,
org.apache.http.HttpException
IOExceptionorg.apache.http.HttpExceptionpublic void pause()
throws org.apache.axis2.AxisFault
org.apache.axis2.AxisFaultpublic void resume()
throws org.apache.axis2.AxisFault
org.apache.axis2.AxisFaultpublic void maintenanceShutdown(long millis)
throws org.apache.axis2.AxisFault
org.apache.axis2.AxisFaultCopyright © 2005-2017 Apache Software Foundation. All Rights Reserved.