Apache CXF API

org.apache.cxf.binding.xml.interceptor
Class XMLFaultOutInterceptor

java.lang.Object
  extended by org.apache.cxf.phase.AbstractPhaseInterceptor<Message>
      extended by org.apache.cxf.interceptor.AbstractOutDatabindingInterceptor
          extended by org.apache.cxf.binding.xml.interceptor.XMLFaultOutInterceptor
All Implemented Interfaces:
Interceptor<Message>, PhaseInterceptor<Message>

public class XMLFaultOutInterceptor
extends AbstractOutDatabindingInterceptor


Field Summary
 
Fields inherited from class org.apache.cxf.interceptor.AbstractOutDatabindingInterceptor
DISABLE_OUTPUTSTREAM_OPTIMIZATION, OUT_BUFFERING
 
Constructor Summary
XMLFaultOutInterceptor()
           
XMLFaultOutInterceptor(String phase)
           
 
Method Summary
 void handleFault(Message message)
          Called for all interceptors (in reverse order) on which handleMessage had been successfully invoked, when normal execution of the chain was aborted for some reason.
 void handleMessage(Message message)
          Intercepts a message.
protected  boolean mustPropogateException(Message m)
           
 
Methods inherited from class org.apache.cxf.interceptor.AbstractOutDatabindingInterceptor
getDataWriter, getXMLStreamWriter, isRequestor, shouldValidate, writeParts, writeToOutputStream
 
Methods inherited from class org.apache.cxf.phase.AbstractPhaseInterceptor
addAfter, addAfter, addBefore, addBefore, getAfter, getBefore, getId, getPhase, isGET, setAfter, setBefore
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLFaultOutInterceptor

public XMLFaultOutInterceptor()

XMLFaultOutInterceptor

public XMLFaultOutInterceptor(String phase)
Method Detail

handleMessage

public void handleMessage(Message message)
                   throws Fault
Description copied from interface: Interceptor
Intercepts a message. Interceptors should NOT invoke handleMessage or handleFault on the next interceptor - the interceptor chain will take care of this.

Throws:
Fault

handleFault

public void handleFault(Message message)
                 throws Fault
Description copied from interface: Interceptor
Called for all interceptors (in reverse order) on which handleMessage had been successfully invoked, when normal execution of the chain was aborted for some reason.

Specified by:
handleFault in interface Interceptor<Message>
Overrides:
handleFault in class AbstractPhaseInterceptor<Message>
Throws:
Fault

mustPropogateException

protected boolean mustPropogateException(Message m)

Apache CXF API

Apache CXF