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 Summary
Modifier and TypeMethodDescriptionvoid
logFailedRequest
(FailedLoggedRequest failedLoggedRequest) triggered after a response has been received that contains errorsvoid
logMagdaRequest
(MagdaLoggedRequest magdaLoggedRequest) triggered before a request is sentvoid
logSucceededRequest
(SucceededLoggedRequest succeededLoggedRequest) triggered after a response has been received that does not contain errorsvoid
logUnansweredRequest
(UnansweredLoggedRequest unansweredLoggedRequest) triggered when the connection fails to obtain a (valid) response document
-
Method Details
-
logMagdaRequest
triggered before a request is sent- Parameters:
magdaLoggedRequest
- the contents of the request
-
logSucceededRequest
triggered after a response has been received that does not contain errors- Parameters:
succeededLoggedRequest
- the contents of the succeeded request
-
logFailedRequest
triggered after a response has been received that contains errors- Parameters:
failedLoggedRequest
- the contents of the failed request
-
logUnansweredRequest
triggered when the connection fails to obtain a (valid) response document- Parameters:
unansweredLoggedRequest
- the contents of the unanswered request
-