Apache CXF API

org.apache.cxf.test
Class AbstractCXFTest.TestMessageObserver

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

public static class AbstractCXFTest.TestMessageObserver
extends java.lang.Object
implements MessageObserver


Constructor Summary
AbstractCXFTest.TestMessageObserver()
           
 
Method Summary
 java.lang.String getResponseContentType()
           
 java.io.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

AbstractCXFTest.TestMessageObserver

public AbstractCXFTest.TestMessageObserver()
Method Detail

getResponseStream

public java.io.ByteArrayOutputStream getResponseStream()
                                                throws java.lang.Exception
Throws:
java.lang.Exception

getResponseContentType

public java.lang.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 is an effort undergoing incubation at the Apache Software Foundation(ASF) and sponsored by the Apache Incubator PMC.