Class 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.TransportSender
    Axis2HttpTransportSender receives the outgoing axis2 MessageContext, convert it into a HttpCarbonMessage and deliver it to the Http Client connector.
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface org.apache.axis2.engine.Handler

        org.apache.axis2.engine.Handler.InvocationResponse
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void cleanup​(org.apache.axis2.context.MessageContext messageContext)  
      void handleException​(String msg)  
      void handleException​(String s, Exception e)  
      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 msgCtx)  
      void stop()  
      • Methods inherited from class org.apache.axis2.handlers.AbstractHandler

        cleanup, flowComplete, getHandlerDesc, getName, getParameter, init, toString
      • Methods inherited from interface org.apache.axis2.engine.Handler

        cleanup, flowComplete, getHandlerDesc, getName, getParameter, init
      • Methods inherited from interface org.apache.axis2.transport.TransportSender

        onAppError
    • Constructor Detail

      • Axis2HttpTransportSender

        public Axis2HttpTransportSender()
    • 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:
        init in interface org.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:
        invoke in interface org.apache.axis2.engine.Handler
        Throws:
        org.apache.axis2.AxisFault
      • cleanup

        public void cleanup​(org.apache.axis2.context.MessageContext messageContext)
        Specified by:
        cleanup in interface org.apache.axis2.transport.TransportSender
      • stop

        public void stop()
        Specified by:
        stop in interface org.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