Class AxisHttpService

java.lang.Object
org.apache.axis2.transport.http.server.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 Summary

    Constructors
    Constructor
    Description
    AxisHttpService(org.apache.hc.core5.http.protocol.HttpProcessor httpProcessor, org.apache.hc.core5.http.config.Http1Config http1Config, org.apache.hc.core5.http.ConnectionReuseStrategy connStrategy, org.apache.hc.core5.http.impl.Http1StreamListener streamListener, org.apache.hc.core5.http.impl.io.DefaultClassicHttpResponseFactory responseFactory, org.apache.axis2.context.ConfigurationContext configurationContext, Worker worker)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    doService(AxisHttpRequest request, AxisHttpResponse response, org.apache.hc.core5.http.protocol.HttpContext context, org.apache.axis2.context.MessageContext msgContext)
     
    int
    getStatusFromAxisFault(org.apache.axis2.AxisFault fault)
     
    protected void
    handleException(org.apache.hc.core5.http.HttpException ex, org.apache.hc.core5.http.ClassicHttpResponse response)
     
    void
    handleRequest(AxisHttpConnection conn, org.apache.hc.core5.http.protocol.HttpContext localContext)
     
    protected int
     

    Methods inherited from class java.lang.Object

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

    • AxisHttpService

      public AxisHttpService(org.apache.hc.core5.http.protocol.HttpProcessor httpProcessor, org.apache.hc.core5.http.config.Http1Config http1Config, org.apache.hc.core5.http.ConnectionReuseStrategy connStrategy, org.apache.hc.core5.http.impl.Http1StreamListener streamListener, org.apache.hc.core5.http.impl.io.DefaultClassicHttpResponseFactory responseFactory, org.apache.axis2.context.ConfigurationContext configurationContext, Worker worker)
  • Method Details

    • handleRequest

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

      protected void handleException(org.apache.hc.core5.http.HttpException ex, org.apache.hc.core5.http.ClassicHttpResponse response)
    • toStatusCode

      protected int toStatusCode(Exception ex)
    • doService

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

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