Class InboundHttpServerWorker

java.lang.Object
org.apache.synapse.transport.passthru.ServerWorker
org.wso2.carbon.inbound.endpoint.protocol.http.InboundHttpServerWorker
All Implemented Interfaces:
Runnable
Direct Known Subclasses:
InboundCorrelationEnabledHttpServerWorker

public class InboundHttpServerWorker extends org.apache.synapse.transport.passthru.ServerWorker
Create SynapseMessageContext from HTTP Request and inject it to the sequence in a synchronous manner This is the worker for HTTP inbound related requests.
  • Constructor Summary

    Constructors
    Constructor
    Description
    InboundHttpServerWorker(int port, String tenantDomain, org.apache.synapse.transport.passthru.SourceRequest sourceRequest, org.apache.synapse.transport.passthru.config.SourceConfiguration sourceConfiguration, OutputStream outputStream)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
     
    void
    run()
     

    Methods inherited from class org.apache.synapse.transport.passthru.ServerWorker

    createMessageContext, getRequestContext, getSourceConfiguration, getSourceRequest, getWorkerState, handleRESTUrlPost, isRESTRequest, processEntityEnclosingRequest, processHttpRequestUri, processNonEntityEnclosingRESTHandler, sendAck, setSourceRequest

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • InboundHttpServerWorker

      public InboundHttpServerWorker(int port, String tenantDomain, org.apache.synapse.transport.passthru.SourceRequest sourceRequest, org.apache.synapse.transport.passthru.config.SourceConfiguration sourceConfiguration, OutputStream outputStream)
  • Method Details

    • run

      public void run()
      Specified by:
      run in interface Runnable
      Overrides:
      run in class org.apache.synapse.transport.passthru.ServerWorker
    • handleException

      protected void handleException(String msg)