org.apache.axis2.transport.nhttp
Class ClientWorker

java.lang.Object
  extended by org.apache.axis2.transport.nhttp.ClientWorker
All Implemented Interfaces:
java.lang.Runnable

public class ClientWorker
extends java.lang.Object
implements java.lang.Runnable

Performs processing of the HTTP response received for our outgoing request. An instance of this class is created to process each unique response.


Constructor Summary
ClientWorker(ConfigurationContext cfgCtx, java.io.InputStream in, org.apache.http.HttpResponse response, MessageContext outMsgCtx)
          Create the thread that would process the response message received for the outgoing message context sent
 
Method Summary
 void run()
          Process the received response through Axis2
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClientWorker

public ClientWorker(ConfigurationContext cfgCtx,
                    java.io.InputStream in,
                    org.apache.http.HttpResponse response,
                    MessageContext outMsgCtx)
Create the thread that would process the response message received for the outgoing message context sent

Parameters:
cfgCtx - the Axis2 configuration context
in - the InputStream to read the body of the response message received
outMsgCtx - the original outgoing message context (i.e. corresponding request)
Method Detail

run

public void run()
Process the received response through Axis2

Specified by:
run in interface java.lang.Runnable


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