Class DecoupledFaultHandler
- java.lang.Object
-
- org.apache.cxf.phase.AbstractPhaseInterceptor<SoapMessage>
-
- org.apache.cxf.binding.soap.interceptor.AbstractSoapInterceptor
-
- org.apache.cxf.ws.addressing.soap.DecoupledFaultHandler
-
- All Implemented Interfaces:
SoapInterceptor,Interceptor<SoapMessage>,PhaseInterceptor<SoapMessage>
public class DecoupledFaultHandler extends AbstractSoapInterceptor
Utility interceptor for dealing with faults occurred during processing the one way requests with WSA FaultTo EPR pointing to a decoupled destination. Note that this interceptor is not currently installed by default. It can be installed using @InInterceptors and @OutInterceptors annotations or explicitly added to the list of interceptors.
-
-
Field Summary
Fields Modifier and Type Field Description static StringWSA_ACTION
-
Constructor Summary
Constructors Constructor Description DecoupledFaultHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected DestinationcreateDecoupledDestination(Exchange exchange, org.apache.cxf.ws.addressing.EndpointReferenceType epr)voidhandleFault(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.voidhandleMessage(SoapMessage message)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
-
-
-
-
Field Detail
-
WSA_ACTION
public static final String WSA_ACTION
- See Also:
- Constant Field Values
-
-
Method Detail
-
handleMessage
public void handleMessage(SoapMessage message)
Description copied from interface:InterceptorIntercepts 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:InterceptorCalled 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:
handleFaultin interfaceInterceptor<SoapMessage>- Overrides:
handleFaultin classAbstractPhaseInterceptor<SoapMessage>
-
createDecoupledDestination
protected Destination createDecoupledDestination(Exchange exchange, org.apache.cxf.ws.addressing.EndpointReferenceType epr)
-
-