Apache CXF API

org.apache.cxf.test
Class TestUtilities.TestMessageObserver

java.lang.Object
  extended by org.apache.cxf.test.TestUtilities.TestMessageObserver
All Implemented Interfaces:
MessageObserver
Direct Known Subclasses:
AbstractCXFTest.TestMessageObserver
Enclosing class:
TestUtilities

public static class TestUtilities.TestMessageObserver
extends Object
implements MessageObserver


Constructor Summary
TestUtilities.TestMessageObserver()
           
 
Method Summary
 String getResponseContentType()
           
 ByteArrayOutputStream getResponseStream()
           
 void onMessage(Message message)
          Called for an incoming message, i.e.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestUtilities.TestMessageObserver

public TestUtilities.TestMessageObserver()
Method Detail

getResponseStream

public ByteArrayOutputStream getResponseStream()
                                        throws Exception
Throws:
Exception

getResponseContentType

public String getResponseContentType()

onMessage

public void onMessage(Message message)
Description copied from interface: MessageObserver
Called for an incoming message, i.e. where the content format(s) is/are source(s).

Specified by:
onMessage in interface MessageObserver

Apache CXF API

Apache CXF