Interface IAS4SignalMessageValidationResultHandler

All Known Implementing Classes:
LoggingAS4SignalMsgValidationResultHandler

public interface IAS4SignalMessageValidationResultHandler
Specific callback interface for ValidatingAS4SignalMsgConsumer to handle the results in a structured way.
Since:
3.0.0
Author:
Philip Helger
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onError(String sErrorMsg)
    Called for each error found.
    void
    This method is only called if sent and/or received message did not contain DSig references, so there was nothing to compare to.
    void
    Called if no issues were found between the sent and the received receipts.
  • Method Details

    • onSuccess

      void onSuccess()
      Called if no issues were found between the sent and the received receipts. Called 0 to 1 times.
    • onError

      void onError(@Nonnull String sErrorMsg)
      Called for each error found.
      Parameters:
      sErrorMsg - The error text in human readable string what went wrong.
    • onNotApplicable

      void onNotApplicable()
      This method is only called if sent and/or received message did not contain DSig references, so there was nothing to compare to.