@PublicAPI(stability=UNCOMMITTED, mayInstantiate=false, mayExtend=false, mayInvoke=true) public final class CancelRequest extends Object
Constructor and Description |
---|
CancelRequest(boolean notifyOriginalRequestor,
LocalizableMessage cancelReason)
Creates a new cancel request with the provided information.
|
Modifier and Type | Method and Description |
---|---|
LocalizableMessage |
getCancelReason()
Retrieves a message that explains the purpose for this
cancellation.
|
boolean |
notifyOriginalRequestor()
Indicates whether the original requestor should receive a
response to the request if the operation is canceled.
|
public CancelRequest(boolean notifyOriginalRequestor, LocalizableMessage cancelReason)
notifyOriginalRequestor
- Indicates whether the original
requestor should receive a
response if the operation is
canceled.cancelReason
- A message that explains the
purpose for this cancellation.public boolean notifyOriginalRequestor()
true
if the original requestor should
receive a response if the operation is canceled, or
false
if not.public LocalizableMessage getCancelReason()
Copyright © 2010-2017 ForgeRock AS. All Rights Reserved.