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 theMessageContextfor incoming Axis requests.
-
-
Constructor Summary
Constructors Constructor Description AxisHttpService(org.apache.http.protocol.HttpProcessor httpProcessor, org.apache.http.ConnectionReuseStrategy connStrategy, org.apache.http.HttpResponseFactory responseFactory, ConfigurationContext configurationContext, Worker worker)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voiddoService(AxisHttpRequest request, AxisHttpResponse response, org.apache.http.protocol.HttpContext context, MessageContext msgContext)org.apache.http.params.HttpParamsgetParams()intgetStatusFromAxisFault(AxisFault fault)protected voidhandleException(org.apache.http.HttpException ex, org.apache.http.HttpResponse response)voidhandleRequest(AxisHttpConnection conn, org.apache.http.protocol.HttpContext context)voidsetParams(org.apache.http.params.HttpParams params)
-
-
-
Constructor Detail
-
AxisHttpService
public AxisHttpService(org.apache.http.protocol.HttpProcessor httpProcessor, org.apache.http.ConnectionReuseStrategy connStrategy, org.apache.http.HttpResponseFactory responseFactory, 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:
IOExceptionorg.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, MessageContext msgContext) throws org.apache.http.HttpException, IOException
- Throws:
org.apache.http.HttpExceptionIOException
-
getStatusFromAxisFault
public int getStatusFromAxisFault(AxisFault fault)
-
-