@PublicAPI(stability=UNCOMMITTED, mayInstantiate=false, mayExtend=false, mayInvoke=true) @Deprecated public final class CancelRequest extends Object
Constructor and Description |
---|
CancelRequest(boolean notifyOriginalRequestor,
LocalizableMessage cancelReason)
Deprecated.
Creates a new cancel request with the provided information.
|
Modifier and Type | Method and Description |
---|---|
LocalizableMessage |
getCancelReason()
Deprecated.
Retrieves a message that explains the purpose for this cancellation.
|
boolean |
notifyOriginalRequestor()
Deprecated.
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.