Class Axis2HttpTransportListener

  • All Implemented Interfaces:
    org.apache.axis2.transport.TransportListener
    Direct Known Subclasses:
    Axis2HttpSSLTransportListener

    public class Axis2HttpTransportListener
    extends Object
    implements org.apache.axis2.transport.TransportListener
    Axis2HttpTransportListener is the Axis2 Transport Listener implementation for HTTP transport based on Netty.
    • Field Detail

      • messagingHandlers

        protected List<org.apache.synapse.commons.handlers.MessagingHandler> messagingHandlers
      • transportInDescription

        protected org.apache.axis2.description.TransportInDescription transportInDescription
    • Constructor Detail

      • Axis2HttpTransportListener

        public Axis2HttpTransportListener()
    • Method Detail

      • init

        public void init​(org.apache.axis2.context.ConfigurationContext configurationContext,
                         org.apache.axis2.description.TransportInDescription transportInDescription)
                  throws org.apache.axis2.AxisFault
        Specified by:
        init in interface org.apache.axis2.transport.TransportListener
        Throws:
        org.apache.axis2.AxisFault
      • start

        public void start()
                   throws org.apache.axis2.AxisFault
        Specified by:
        start in interface org.apache.axis2.transport.TransportListener
        Throws:
        org.apache.axis2.AxisFault
      • stop

        public void stop()
                  throws org.apache.axis2.AxisFault
        Specified by:
        stop in interface org.apache.axis2.transport.TransportListener
        Throws:
        org.apache.axis2.AxisFault
      • getEPRForService

        public org.apache.axis2.addressing.EndpointReference getEPRForService​(String s,
                                                                              String s1)
        Specified by:
        getEPRForService in interface org.apache.axis2.transport.TransportListener
      • getEPRsForService

        public org.apache.axis2.addressing.EndpointReference[] getEPRsForService​(String s,
                                                                                 String s1)
        Specified by:
        getEPRsForService in interface org.apache.axis2.transport.TransportListener
      • getSessionContext

        public org.apache.axis2.context.SessionContext getSessionContext​(org.apache.axis2.context.MessageContext messageContext)
        Specified by:
        getSessionContext in interface org.apache.axis2.transport.TransportListener
      • destroy

        public void destroy()
        Specified by:
        destroy in interface org.apache.axis2.transport.TransportListener
      • initScheme

        protected Scheme initScheme()
      • initListenerConfiguration

        protected org.wso2.transport.http.netty.contract.config.ListenerConfiguration initListenerConfiguration()
                                                                                                         throws org.apache.axis2.AxisFault
        Throws:
        org.apache.axis2.AxisFault
      • setMessagingHandlers

        public void setMessagingHandlers​(List<org.apache.synapse.commons.handlers.MessagingHandler> messagingHandlers)