Class AxisTestClient
- java.lang.Object
-
- org.apache.axis2.transport.testkit.axis2.client.AxisTestClient
-
- All Implemented Interfaces:
TestClient,MessageExchangeValidator
- Direct Known Subclasses:
AxisAsyncTestClient,AxisRequestResponseTestClient
public class AxisTestClient extends Object implements TestClient, MessageExchangeValidator
-
-
Field Summary
Fields Modifier and Type Field Description protected OptionsaxisOptionsprotected ServiceClientserviceClient
-
Constructor Summary
Constructors Constructor Description AxisTestClient()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidafterReceive()voidbeforeSend()ContentTypegetContentType(ClientOptions options, ContentType contentType)protected MessageContextsend(ClientOptions options, AxisMessage message, QName operationQName, boolean block, String resultMessageLabel)
-
-
-
Field Detail
-
serviceClient
protected ServiceClient serviceClient
-
axisOptions
protected Options axisOptions
-
-
Method Detail
-
getContentType
public ContentType getContentType(ClientOptions options, ContentType contentType)
- Specified by:
getContentTypein interfaceTestClient
-
beforeSend
public void beforeSend() throws Exception- Specified by:
beforeSendin interfaceMessageExchangeValidator- Throws:
Exception
-
send
protected MessageContext send(ClientOptions options, AxisMessage message, QName operationQName, boolean block, String resultMessageLabel) throws Exception
- Throws:
Exception
-
afterReceive
public void afterReceive() throws Exception- Specified by:
afterReceivein interfaceMessageExchangeValidator- Throws:
Exception
-
-