Class NHttpGetProcessor

  • All Implemented Interfaces:
    org.apache.synapse.transport.nhttp.HttpGetRequestProcessor

    public class NHttpGetProcessor
    extends org.apache.synapse.transport.nhttp.DefaultHttpGetProcessor
    Get Processor implementation for NHttp Transport.
    • Field Summary

      • Fields inherited from class org.apache.synapse.transport.nhttp.DefaultHttpGetProcessor

        cfgCtx, serverHandler
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void handleException​(String msg, Exception e)  
      void init​(org.apache.axis2.context.ConfigurationContext configurationContext, org.apache.synapse.transport.nhttp.ServerHandler serverHandler)  
      void process​(org.apache.http.HttpRequest request, org.apache.http.HttpResponse response, org.apache.axis2.context.MessageContext messageContext, org.apache.http.nio.NHttpServerConnection conn, OutputStream outputStream, boolean b)  
      • Methods inherited from class org.apache.synapse.transport.nhttp.DefaultHttpGetProcessor

        generateServiceDetailsPage, generateServicesList, generateWsdl, generateWsdl2, generateXsd, getIpAddress, getServiceName, getServicesHTML, handleBrowserException, handleException, isIP, isServiceListBlocked, isWSDLProvidedForProxyService, processGetAndDelete
    • Constructor Detail

      • NHttpGetProcessor

        public NHttpGetProcessor()
    • Method Detail

      • init

        public void init​(org.apache.axis2.context.ConfigurationContext configurationContext,
                         org.apache.synapse.transport.nhttp.ServerHandler serverHandler)
                  throws org.apache.axis2.AxisFault
        Specified by:
        init in interface org.apache.synapse.transport.nhttp.HttpGetRequestProcessor
        Overrides:
        init in class org.apache.synapse.transport.nhttp.DefaultHttpGetProcessor
        Throws:
        org.apache.axis2.AxisFault
      • process

        public void process​(org.apache.http.HttpRequest request,
                            org.apache.http.HttpResponse response,
                            org.apache.axis2.context.MessageContext messageContext,
                            org.apache.http.nio.NHttpServerConnection conn,
                            OutputStream outputStream,
                            boolean b)
        Specified by:
        process in interface org.apache.synapse.transport.nhttp.HttpGetRequestProcessor
        Overrides:
        process in class org.apache.synapse.transport.nhttp.DefaultHttpGetProcessor
      • handleException

        public void handleException​(String msg,
                                    Exception e)
                             throws org.apache.axis2.AxisFault
        Throws:
        org.apache.axis2.AxisFault