Result.STATUS
Constructor and Description |
---|
ResultImpl(boolean synchronous)
Constructor.
|
ResultImpl(ResultStatus status)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
TreeNode<Resource> |
getResultTree()
Obtain the results of the request invocation as a Tree structure.
|
ResultStatus |
getStatus() |
boolean |
isSynchronous()
Determine whether the request was handled synchronously.
|
void |
setResultStatus(ResultStatus status) |
public ResultImpl(boolean synchronous)
synchronous
- true if request was handled synchronously, false otherwisepublic ResultImpl(ResultStatus status)
status
- result statuspublic TreeNode<Resource> getResultTree()
Result
getResultTree
in interface Result
public boolean isSynchronous()
Result
isSynchronous
in interface Result
public ResultStatus getStatus()
public void setResultStatus(ResultStatus status)
setResultStatus
in interface Result
Copyright © 2016. All rights reserved.