| Constructor and Description |
|---|
StatusInfo()
Constructor
|
StatusInfo(int code,
String description,
String reasonPhrase)
Constructor.
|
StatusInfo(Status status)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getCode()
Returns the code of the status.
|
String |
getDescription()
Returns the description of the status.
|
String |
getReasonPhrase()
Returns the short description of the status.
|
void |
setCode(int code)
Sets the code of the status.
|
void |
setDescription(String description)
Sets the description of the status.
|
void |
setReasonPhrase(String reasonPhrase)
Sets the short description of the status.
|
public StatusInfo()
public StatusInfo(int code,
String description,
String reasonPhrase)
code - The specification code.description - The longer description.reasonPhrase - The short reason phrase.public StatusInfo(Status status)
status - The represented status.public int getCode()
public String getDescription()
public String getReasonPhrase()
public void setCode(int code)
code - The code of the status.public void setDescription(String description)
code - The description of the status.public void setReasonPhrase(String reasonPhrase)
code - The short description of the status.Copyright © 2005-2014 Restlet.