Interface WebhookClient.Callback
- Enclosing class:
WebhookClient
public static interface WebhookClient.Callback
An interface for handling webhook execution responses.
-
Method Summary
-
Method Details
-
onSuccess
Called when the webhook execution is successful.- Parameters:
response- The response received from the server.
-
onFailure
Called when the webhook execution encounters an error.- Parameters:
statusCode- The HTTP status code indicating the type of error.errorMessage- The error message received from the server.
-