|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opends.server.types.CancelResult
@PublicAPI(stability=UNCOMMITTED,
mayInstantiate=false,
mayExtend=false,
mayInvoke=true)
public class CancelResultThis enumeration defines the set of possible outcomes that can result from processing a cancel request. This is based on the specification contained in RFC 3909.
| Constructor Summary | |
|---|---|
CancelResult(ResultCode resultCode,
Message responseMessage)
Creates a new cancel result with the provided result code. |
|
| Method Summary | |
|---|---|
Message |
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. |
java.lang.String |
toString()
Retrieves a string representation of this cancel result. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public CancelResult(ResultCode resultCode,
Message 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.| Method Detail |
|---|
public final ResultCode getResultCode()
public Message getResponseMessage()
public final java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||