Interface WsRejectionHandlingStrategy

  • All Known Implementing Classes:
    AbstractWsRejectionHandlingStrategy

    public interface WsRejectionHandlingStrategy
    Rejection handling strategy for WS transactions.
    Author:
    Dmytro Rud
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void handleRejectedExchange​(org.apache.cxf.message.Exchange cxfExchange)
      This method will be called when the request has been rejected by CXF (in this case, the CXF exchange will contain a SOAP fault) or by IPF (transaction-specific logic).
      boolean isRejected​(org.apache.cxf.message.Exchange cxfExchange)
      This method should return true when the given CXF exchange can be considered rejected (failed).
    • Method Detail

      • handleRejectedExchange

        void handleRejectedExchange​(org.apache.cxf.message.Exchange cxfExchange)
        This method will be called when the request has been rejected by CXF (in this case, the CXF exchange will contain a SOAP fault) or by IPF (transaction-specific logic).
        Parameters:
        cxfExchange - CXF exchange containing multiple representations of the request message and the whole context information.
      • isRejected

        boolean isRejected​(org.apache.cxf.message.Exchange cxfExchange)
        This method should return true when the given CXF exchange can be considered rejected (failed).

        Parameters:
        cxfExchange - CXF exchange under consideration.
        Returns:
        true when the given CXF exchange has been rejected; false otherwise.
        See Also:
        SoapUtils.extractOutgoingException(org.apache.cxf.message.Exchange)