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 theMessageContext
for 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 void
doService(AxisHttpRequest request, AxisHttpResponse response, org.apache.http.protocol.HttpContext context, MessageContext msgContext)
org.apache.http.params.HttpParams
getParams()
int
getStatusFromAxisFault(AxisFault fault)
protected void
handleException(org.apache.http.HttpException ex, org.apache.http.HttpResponse response)
void
handleRequest(AxisHttpConnection conn, org.apache.http.protocol.HttpContext context)
void
setParams(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:
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, MessageContext msgContext) throws org.apache.http.HttpException, IOException
- Throws:
org.apache.http.HttpException
IOException
-
getStatusFromAxisFault
public int getStatusFromAxisFault(AxisFault fault)
-
-