Class Axis2HttpTransportSender
- java.lang.Object
-
- org.apache.axis2.handlers.AbstractHandler
-
- org.apache.synapse.transport.netty.sender.Axis2HttpTransportSender
-
- All Implemented Interfaces:
org.apache.axis2.engine.Handler,org.apache.axis2.transport.TransportSender
- Direct Known Subclasses:
Axis2HttpSSLTransportSender
public class Axis2HttpTransportSender extends org.apache.axis2.handlers.AbstractHandler implements org.apache.axis2.transport.TransportSenderAxis2HttpTransportSenderreceives the outgoing axis2MessageContext, convert it into aHttpCarbonMessageand deliver it to the Http Client connector.
-
-
Field Summary
Fields Modifier and Type Field Description protected TargetConfigurationtargetConfiguration
-
Constructor Summary
Constructors Constructor Description Axis2HttpTransportSender()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcleanup(org.apache.axis2.context.MessageContext messageContext)voidhandleException(String msg)voidhandleException(String s, Exception e)voidinit(org.apache.axis2.context.ConfigurationContext configurationContext, org.apache.axis2.description.TransportOutDescription transportOutDescription)org.apache.axis2.engine.Handler.InvocationResponseinvoke(org.apache.axis2.context.MessageContext msgCtx)voidstop()-
Methods inherited from class org.apache.axis2.handlers.AbstractHandler
cleanup, flowComplete, getHandlerDesc, getName, getParameter, init, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
targetConfiguration
protected TargetConfiguration targetConfiguration
-
-
Method Detail
-
init
public void init(org.apache.axis2.context.ConfigurationContext configurationContext, org.apache.axis2.description.TransportOutDescription transportOutDescription) throws org.apache.axis2.AxisFault- Specified by:
initin interfaceorg.apache.axis2.transport.TransportSender- Throws:
org.apache.axis2.AxisFault
-
invoke
public org.apache.axis2.engine.Handler.InvocationResponse invoke(org.apache.axis2.context.MessageContext msgCtx) throws org.apache.axis2.AxisFault- Specified by:
invokein interfaceorg.apache.axis2.engine.Handler- Throws:
org.apache.axis2.AxisFault
-
cleanup
public void cleanup(org.apache.axis2.context.MessageContext messageContext)
- Specified by:
cleanupin interfaceorg.apache.axis2.transport.TransportSender
-
stop
public void stop()
- Specified by:
stopin interfaceorg.apache.axis2.transport.TransportSender
-
handleException
public void handleException(String s, Exception e) throws org.apache.axis2.AxisFault
- Throws:
org.apache.axis2.AxisFault
-
handleException
public void handleException(String msg) throws org.apache.axis2.AxisFault
- Throws:
org.apache.axis2.AxisFault
-
-