Class Axis2HttpConnectorListener

java.lang.Object
org.apache.synapse.transport.netty.listener.Axis2HttpConnectorListener
All Implemented Interfaces:
org.wso2.transport.http.netty.contract.HttpConnectorListener

public class Axis2HttpConnectorListener extends Object implements org.wso2.transport.http.netty.contract.HttpConnectorListener
PassThroughHttpConnectorListener receives the HttpCarbonMessage coming from the Netty HTTP transport, hands it over to the HttpRequestWorker to convert it to MessageContext and finally deliver it to the axis engine.
  • Constructor Details

    • Axis2HttpConnectorListener

      public Axis2HttpConnectorListener(SourceConfiguration sourceConfiguration)
  • Method Details

    • onMessage

      public void onMessage(org.wso2.transport.http.netty.message.HttpCarbonMessage httpCarbonMessage)
      Specified by:
      onMessage in interface org.wso2.transport.http.netty.contract.HttpConnectorListener
    • onError

      public void onError(Throwable throwable)
      Specified by:
      onError in interface org.wso2.transport.http.netty.contract.HttpConnectorListener