public interface CancelRequestListener extends EventListener
Requests may be cancelled as a result of an abandon request or a cancel extended request sent from the client, or by the server itself (e.g. during server shutdown).
Modifier and Type | Method and Description |
---|---|
void |
handleCancelRequest(LocalizableMessage cancellationReason)
Invoked when a cancellation request has been received and processing of
the request should be aborted if possible.
|
void handleCancelRequest(LocalizableMessage cancellationReason)
Requests may be cancelled as a result of an abandon request or a cancel extended request sent from the client, or by the server itself (e.g. during server shutdown).
Implementations should, if possible, abort further processing of the request and return an appropriate cancellation result.
cancellationReason
- A message describing the reason why the request is being
cancelled.Copyright 2010-2017 ForgeRock AS.