Class 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)  
    • Constructor Detail

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

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