Class AxisHttpService


  • public class AxisHttpService
    extends Object
    This class is an extension of the default HTTP service responsible for maintaining and populating the MessageContext for incoming Axis requests.
    • Constructor Detail

      • AxisHttpService

        public AxisHttpService​(org.apache.http.protocol.HttpProcessor httpProcessor,
                               org.apache.http.ConnectionReuseStrategy connStrategy,
                               org.apache.http.HttpResponseFactory responseFactory,
                               org.apache.axis2.context.ConfigurationContext configurationContext,
                               Worker worker)
    • Method Detail

      • getParams

        public org.apache.http.params.HttpParams getParams()
      • setParams

        public void setParams​(org.apache.http.params.HttpParams params)
      • handleRequest

        public void handleRequest​(AxisHttpConnection conn,
                                  org.apache.http.protocol.HttpContext context)
                           throws IOException,
                                  org.apache.http.HttpException
        Throws:
        IOException
        org.apache.http.HttpException
      • handleException

        protected void handleException​(org.apache.http.HttpException ex,
                                       org.apache.http.HttpResponse response)
      • doService

        protected void doService​(AxisHttpRequest request,
                                 AxisHttpResponse response,
                                 org.apache.http.protocol.HttpContext context,
                                 org.apache.axis2.context.MessageContext msgContext)
                          throws org.apache.http.HttpException,
                                 IOException
        Throws:
        org.apache.http.HttpException
        IOException
      • getStatusFromAxisFault

        public int getStatusFromAxisFault​(org.apache.axis2.AxisFault fault)