org.apache.axis2.transport.testkit.client
Class RequestResponseTestClientAdapter<M,N,O,P>
java.lang.Object
org.apache.axis2.transport.testkit.client.RequestResponseTestClientAdapter<M,N,O,P>
- All Implemented Interfaces:
- Adapter, RequestResponseTestClient<M,O>, TestClient
public class RequestResponseTestClientAdapter<M,N,O,P>
- extends java.lang.Object
- implements RequestResponseTestClient<M,O>, Adapter
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RequestResponseTestClientAdapter
public RequestResponseTestClientAdapter(RequestResponseTestClient<N,P> target,
MessageEncoder<M,N> encoder,
MessageDecoder<P,O> decoder)
getTarget
public RequestResponseTestClient<N,P> getTarget()
- Specified by:
getTarget
in interface Adapter
getContentType
public javax.mail.internet.ContentType getContentType(ClientOptions options,
javax.mail.internet.ContentType contentType)
throws java.lang.Exception
- Specified by:
getContentType
in interface TestClient
- Throws:
java.lang.Exception
sendMessage
public IncomingMessage<O> sendMessage(ClientOptions options,
javax.mail.internet.ContentType contentType,
M message)
throws java.lang.Exception
- Specified by:
sendMessage
in interface RequestResponseTestClient<M,O>
- Throws:
java.lang.Exception
Copyright © 2004-2009 The Apache Software Foundation. All Rights Reserved.