Class 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 String WSA_ACTION  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      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
    • Constructor Detail

      • DecoupledFaultHandler

        public DecoupledFaultHandler()
    • Method Detail

      • 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)