@PublicAPI(stability=UNCOMMITTED, mayInstantiate=false, mayExtend=false, mayInvoke=true) public class CancelResult extends Object
Constructor and Description |
---|
CancelResult(ResultCode resultCode,
LocalizableMessage responseMessage)
Creates a new cancel result with the provided result code.
|
Modifier and Type | Method and Description |
---|---|
LocalizableMessage |
getResponseMessage()
Retrieves the human-readable response that the server provided
for the result of the cancellation.
|
ResultCode |
getResultCode()
Retrieves the result code associated with this cancel result.
|
String |
toString()
Retrieves a string representation of this cancel result.
|
public CancelResult(ResultCode resultCode, LocalizableMessage responseMessage)
resultCode
- The result code associated with this cancel
result.responseMessage
- A human-readable response that the
server provided for the result
of the cancellation.public final ResultCode getResultCode()
public LocalizableMessage getResponseMessage()
Copyright 2010-2017 ForgeRock AS.