|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.smartics.ci.comm.command.CommandResult<T>
T
- the type of the command this is a result for.
public final class CommandResult<T extends Command<T>>
The result of the execution of a Command
.
Nested Class Summary | |
---|---|
static class |
CommandResult.HttpStatus Provides information about the HTTP status returned by the result. |
Constructor Summary | |
---|---|
CommandResult(int code, CommandResult.HttpStatus httpStatus, String pageContent) Default constructor. |
Method Summary | |
---|---|
int |
getCode() Returns the return code. |
CommandResult.HttpStatus |
getHttpStatus() Returns the information about the HTTP status returned by the result. |
String |
getPageContent() Returns the page returned on the request. |
String |
toString() |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CommandResult(int code, CommandResult.HttpStatus httpStatus, String pageContent)
code
- the return code.
httpStatus
- the information about the HTTP status returned by the result.
pageContent
- the page returned on the request.
Method Detail |
---|
public int getCode()
public CommandResult.HttpStatus getHttpStatus()
public String getPageContent()
null
.
public String toString()
toString
in class
Object
Object.toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |