Class InboundHttpListener

java.lang.Object
org.wso2.carbon.inbound.endpoint.protocol.http.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
  • Field Details

    • startInPausedMode

      protected boolean startInPausedMode
  • Constructor Details

    • InboundHttpListener

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

    • 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
    • pause

      public void pause()
      Specified by:
      pause 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()
    • activate

      public boolean activate()
      Specified by:
      activate in interface org.apache.synapse.inbound.InboundRequestProcessor
    • deactivate

      public boolean deactivate()
      Specified by:
      deactivate in interface org.apache.synapse.inbound.InboundRequestProcessor
    • isDeactivated

      public boolean isDeactivated()
      Specified by:
      isDeactivated in interface org.apache.synapse.inbound.InboundRequestProcessor