Class AsyncTestClientAdapter<M,N>
- java.lang.Object
-
- org.apache.axis2.transport.testkit.client.AsyncTestClientAdapter<M,N>
-
- All Implemented Interfaces:
Adapter
,AsyncTestClient<M>
,TestClient
public class AsyncTestClientAdapter<M,N> extends Object implements AsyncTestClient<M>, Adapter
-
-
Constructor Summary
Constructors Constructor Description AsyncTestClientAdapter(AsyncTestClient<N> target, MessageEncoder<M,N> encoder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContentType
getContentType(ClientOptions options, ContentType contentType)
AsyncTestClient<N>
getTarget()
void
sendMessage(ClientOptions options, ContentType contentType, M message)
-
-
-
Constructor Detail
-
AsyncTestClientAdapter
public AsyncTestClientAdapter(AsyncTestClient<N> target, MessageEncoder<M,N> encoder)
-
-
Method Detail
-
getTarget
public AsyncTestClient<N> getTarget()
-
getContentType
public ContentType getContentType(ClientOptions options, ContentType contentType) throws Exception
- Specified by:
getContentType
in interfaceTestClient
- Throws:
Exception
-
sendMessage
public void sendMessage(ClientOptions options, ContentType contentType, M message) throws Exception
- Specified by:
sendMessage
in interfaceAsyncTestClient<M>
- Throws:
Exception
-
-