Interface ClientLogService


public interface ClientLogService
An interface containing callbacks for events while processing a MAGDA request. It is strongly recommend to create your own implementation for this class.
  • Method Details

    • logMagdaRequest

      void logMagdaRequest(MagdaLoggedRequest magdaLoggedRequest)
      triggered before a request is sent
      Parameters:
      magdaLoggedRequest - the contents of the request
    • logSucceededRequest

      void logSucceededRequest(SucceededLoggedRequest succeededLoggedRequest)
      triggered after a response has been received that does not contain errors
      Parameters:
      succeededLoggedRequest - the contents of the succeeded request
    • logFailedRequest

      void logFailedRequest(FailedLoggedRequest failedLoggedRequest)
      triggered after a response has been received that contains errors
      Parameters:
      failedLoggedRequest - the contents of the failed request
    • logUnansweredRequest

      void logUnansweredRequest(UnansweredLoggedRequest unansweredLoggedRequest)
      triggered when the connection fails to obtain a (valid) response document
      Parameters:
      unansweredLoggedRequest - the contents of the unanswered request