|
||||||||||
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.HttpStatus
public static final class CommandResult.HttpStatus
Provides information about the HTTP status returned by the result.
Field Summary | |
---|---|
static int |
OK HTTP-status OK. |
Constructor Summary | |
---|---|
CommandResult.HttpStatus(int code, String text) Default constructor. |
Method Summary | |
---|---|
int |
getCode() Returns the HTTP status code of the result. |
String |
getText() Returns the HTTP status text of the result. |
String |
toString() |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int OK
200
Constructor Detail |
---|
public CommandResult.HttpStatus(int code, String text)
code
- the HTTP status code of the result.
text
- the HTTP status text of the result.
Method Detail |
---|
public int getCode()
public String getText()
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 |