org.apache.axis2.transport.http.server
Class AxisHttpService

java.lang.Object
  extended by org.apache.axis2.transport.http.server.AxisHttpService

public class AxisHttpService
extends java.lang.Object

This class is an extension of the default HTTP service responsible for maintaining and populating the MessageContext for incoming Axis requests.


Constructor Summary
AxisHttpService(org.apache.http.protocol.HttpProcessor httpProcessor, org.apache.http.ConnectionReuseStrategy connStrategy, org.apache.http.HttpResponseFactory responseFactory, ConfigurationContext configurationContext, Worker worker)
           
 
Method Summary
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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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 java.io.IOException,
                          org.apache.http.HttpException
Throws:
java.io.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,
                         java.io.IOException
Throws:
org.apache.http.HttpException
java.io.IOException

getStatusFromAxisFault

public int getStatusFromAxisFault(AxisFault fault)


Copyright © 2007 Apache Web Services Project. All Rights Reserved.