Apache CXF API

org.apache.cxf.binding.soap.interceptor
Class MustUnderstandInterceptor

java.lang.Object
  extended by org.apache.cxf.phase.AbstractPhaseInterceptor<SoapMessage>
      extended by org.apache.cxf.binding.soap.interceptor.AbstractSoapInterceptor
          extended by org.apache.cxf.binding.soap.interceptor.MustUnderstandInterceptor
All Implemented Interfaces:
SoapInterceptor, Interceptor<SoapMessage>, PhaseInterceptor<SoapMessage>

public class MustUnderstandInterceptor
extends AbstractSoapInterceptor


Nested Class Summary
 class MustUnderstandInterceptor.MustUnderstandEndingInterceptor
           
 
Field Summary
static String FAULT
           
 
Constructor Summary
MustUnderstandInterceptor()
           
MustUnderstandInterceptor(String phase)
           
 
Method Summary
 void handleFault(SoapMessage 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(SoapMessage soapMessage)
          Intercepts a message.
 
Methods inherited from class org.apache.cxf.binding.soap.interceptor.AbstractSoapInterceptor
getFaultCodePrefix, getRoles, getUnderstoodHeaders, prepareStackTrace
 
Methods inherited from class org.apache.cxf.phase.AbstractPhaseInterceptor
addAfter, addAfter, addBefore, addBefore, getAdditionalInterceptors, getAfter, getBefore, getId, getPhase, isGET, isRequestor, setAfter, setBefore
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FAULT

public static final String FAULT
See Also:
Constant Field Values
Constructor Detail

MustUnderstandInterceptor

public MustUnderstandInterceptor()

MustUnderstandInterceptor

public MustUnderstandInterceptor(String phase)
Method Detail

handleMessage

public void handleMessage(SoapMessage soapMessage)
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.


handleFault

public void handleFault(SoapMessage message)
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<SoapMessage>
Overrides:
handleFault in class AbstractPhaseInterceptor<SoapMessage>

Apache CXF API

Apache CXF