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

java.lang.Object
  extended byorg.apache.axis2.transport.http.server.AxisHttpService

public class AxisHttpService
extends java.lang.Object

This class is an extension of the defaulf HTTP service responsible for maintaining and polulating 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)
           
 org.apache.http.params.HttpParams getParams()
           
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)
                  throws org.apache.http.HttpException,
                         java.io.IOException
Throws:
org.apache.http.HttpException
java.io.IOException


Copyright © 2004-2007 Apache Software Foundation. All Rights Reserved.