Class InboundHttpSourceHandler

  • All Implemented Interfaces:
    org.apache.http.nio.NHttpServerEventHandler

    public class InboundHttpSourceHandler
    extends org.apache.synapse.transport.passthru.SourceHandler
    Handler Class for process HTTP Requests
    • Field Summary

      • Fields inherited from class org.apache.synapse.transport.passthru.SourceHandler

        MESSAGE_SIZE_VALIDATION, PROPERTY_FILE, VALID_MAX_MESSAGE_SIZE
    • Constructor Summary

      Constructors 
      Constructor Description
      InboundHttpSourceHandler​(int port, org.apache.synapse.transport.passthru.config.SourceConfiguration sourceConfiguration)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void requestReceived​(org.apache.http.nio.NHttpServerConnection conn)  
      • Methods inherited from class org.apache.synapse.transport.passthru.SourceHandler

        closed, commitResponseHideExceptions, connected, endOfInput, exception, getOutputStream, getSourceRequest, informReaderError, informWriterError, inputReady, logIOException, outputReady, responseReady, setCorrelationId, stop, timeout
    • Constructor Detail

      • InboundHttpSourceHandler

        public InboundHttpSourceHandler​(int port,
                                        org.apache.synapse.transport.passthru.config.SourceConfiguration sourceConfiguration)
    • Method Detail

      • requestReceived

        public void requestReceived​(org.apache.http.nio.NHttpServerConnection conn)
        Specified by:
        requestReceived in interface org.apache.http.nio.NHttpServerEventHandler
        Overrides:
        requestReceived in class org.apache.synapse.transport.passthru.SourceHandler