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

java.lang.Object
  extended by org.apache.http.protocol.AbstractHttpProcessor
      extended by org.apache.http.protocol.HttpService
          extended by org.apache.axis2.transport.http.server.HttpServiceProcessor
              extended by org.apache.axis2.transport.http.server.DefaultHttpServiceProcessor
All Implemented Interfaces:
Runnable, IOProcessor

public class DefaultHttpServiceProcessor
extends HttpServiceProcessor


Constructor Summary
DefaultHttpServiceProcessor(org.apache.http.HttpServerConnection conn, ConfigurationContext configurationContext, SessionManager sessionManager, Worker worker, IOProcessorCallback callback)
           
 
Method Summary
 void close()
           
protected  void doService(org.apache.http.HttpRequest request, org.apache.http.HttpResponse response)
           
protected  void logIOException(IOException ex)
           
protected  void logMessage(String s)
           
protected  void logProtocolException(org.apache.http.HttpException ex)
           
protected  void postprocessResponse(org.apache.http.HttpResponse response, org.apache.http.protocol.HttpContext context)
           
protected  void preprocessRequest(org.apache.http.HttpRequest request, org.apache.http.protocol.HttpContext context)
           
 void run()
           
 
Methods inherited from class org.apache.http.protocol.HttpService
closeConnection, destroy, getParams, handleException, handleRequest, isActive, isDestroyed, setParams
 
Methods inherited from class org.apache.http.protocol.AbstractHttpProcessor
addInterceptor, addInterceptor, clearInterceptors, removeInterceptor, removeInterceptor, removeInterceptors, setInterceptors
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.axis2.transport.http.server.IOProcessor
destroy, isDestroyed
 

Constructor Detail

DefaultHttpServiceProcessor

public DefaultHttpServiceProcessor(org.apache.http.HttpServerConnection conn,
                                   ConfigurationContext configurationContext,
                                   SessionManager sessionManager,
                                   Worker worker,
                                   IOProcessorCallback callback)
Method Detail

postprocessResponse

protected void postprocessResponse(org.apache.http.HttpResponse response,
                                   org.apache.http.protocol.HttpContext context)
                            throws IOException,
                                   org.apache.http.HttpException
Overrides:
postprocessResponse in class org.apache.http.protocol.AbstractHttpProcessor
Throws:
IOException
org.apache.http.HttpException

preprocessRequest

protected void preprocessRequest(org.apache.http.HttpRequest request,
                                 org.apache.http.protocol.HttpContext context)
                          throws IOException,
                                 org.apache.http.HttpException
Overrides:
preprocessRequest in class org.apache.http.protocol.AbstractHttpProcessor
Throws:
IOException
org.apache.http.HttpException

doService

protected void doService(org.apache.http.HttpRequest request,
                         org.apache.http.HttpResponse response)
                  throws org.apache.http.HttpException,
                         IOException
Overrides:
doService in class org.apache.http.protocol.HttpService
Throws:
org.apache.http.HttpException
IOException

logIOException

protected void logIOException(IOException ex)
Overrides:
logIOException in class org.apache.http.protocol.HttpService

logMessage

protected void logMessage(String s)
Overrides:
logMessage in class org.apache.http.protocol.HttpService

logProtocolException

protected void logProtocolException(org.apache.http.HttpException ex)
Overrides:
logProtocolException in class org.apache.http.protocol.HttpService

close

public void close()
           throws IOException
Throws:
IOException

run

public void run()