org.apache.synapse.transport.nhttp
Class ClientWorker
java.lang.Object
org.apache.synapse.transport.nhttp.ClientWorker
- All Implemented Interfaces:
- Runnable
public class ClientWorker
- extends Object
- implements Runnable
Performs processing of the HTTP response received for our outgoing request. An instance of this
class is created to process each unique response.
|
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 |
ClientWorker
public ClientWorker(ConfigurationContext cfgCtx,
InputStream in,
org.apache.http.HttpResponse response,
MessageContext outMsgCtx,
String endpointURLPrefix)
- Create the thread that would process the response message received for the outgoing message
context sent
- Parameters:
cfgCtx - the Axis2 configuration contextin - the InputStream to read the body of the response message receivedresponse - HTTP response received from the serveroutMsgCtx - the original outgoing message context (i.e. corresponding request)endpointURLPrefix - The endpoint URL prefix
run
public void run()
- Process the received response through Axis2
- Specified by:
run in interface Runnable
Copyright © 2005-2012 Apache Software Foundation. All Rights Reserved.