Class InboundHttpListener

  • All Implemented Interfaces:
    org.apache.synapse.inbound.InboundRequestProcessor
    Direct Known Subclasses:
    InboundHttpsListener

    public class InboundHttpListener
    extends Object
    implements org.apache.synapse.inbound.InboundRequestProcessor
    Listener class for HttpInboundEndpoint which is trigger by inbound core and responsible for start ListeningEndpoint related to given port
    • Constructor Detail

      • InboundHttpListener

        public InboundHttpListener​(org.apache.synapse.inbound.InboundProcessorParams params)
    • Method Detail

      • init

        public void init()
        Specified by:
        init in interface org.apache.synapse.inbound.InboundRequestProcessor
      • destroy

        public void destroy()
        Specified by:
        destroy in interface org.apache.synapse.inbound.InboundRequestProcessor
      • handleException

        protected void handleException​(String msg,
                                       Exception e)
      • isPortUsedByAnotherApplication

        protected boolean isPortUsedByAnotherApplication​(int port)
      • destoryInbound

        protected void destoryInbound()