Class DecoupledFaultHandler

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

public class DecoupledFaultHandler extends org.apache.cxf.binding.soap.interceptor.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 final String
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected org.apache.cxf.transport.Destination
    createDecoupledDestination(org.apache.cxf.message.Exchange exchange, org.apache.cxf.ws.addressing.EndpointReferenceType epr)
     
    void
    handleFault(org.apache.cxf.binding.soap.SoapMessage message)
     
    void
    handleMessage(org.apache.cxf.binding.soap.SoapMessage 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 Details

  • Constructor Details

    • DecoupledFaultHandler

      public DecoupledFaultHandler()
  • Method Details

    • handleMessage

      public void handleMessage(org.apache.cxf.binding.soap.SoapMessage message)
    • handleFault

      public void handleFault(org.apache.cxf.binding.soap.SoapMessage message)
      Specified by:
      handleFault in interface org.apache.cxf.interceptor.Interceptor<org.apache.cxf.binding.soap.SoapMessage>
      Overrides:
      handleFault in class org.apache.cxf.phase.AbstractPhaseInterceptor<org.apache.cxf.binding.soap.SoapMessage>
    • createDecoupledDestination

      protected org.apache.cxf.transport.Destination createDecoupledDestination(org.apache.cxf.message.Exchange exchange, org.apache.cxf.ws.addressing.EndpointReferenceType epr)