|
Restlet Framework 2.2.2 Android |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.restlet.data.Warning
public class Warning
Additional information about the status or transformation of a request or
response. This is typically used to warn about a possible issues with caching
operations or transformations applied to the entity body.
Note that when used with HTTP connectors, this class maps to the "Warning"
header.
Constructor Summary | |
---|---|
Warning()
Constructor. |
Method Summary | |
---|---|
java.lang.String |
getAgent()
Returns the agent. |
java.util.Date |
getDate()
Returns the warning date. |
Status |
getStatus()
Returns the special status. |
java.lang.String |
getText()
Returns the warning text. |
void |
setAgent(java.lang.String agent)
Sets the agent. |
void |
setDate(java.util.Date date)
Sets the warning date. |
void |
setStatus(Status status)
Sets the special status. |
void |
setText(java.lang.String text)
Sets the warning text. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Warning()
Method Detail |
---|
public java.lang.String getAgent()
public java.util.Date getDate()
public Status getStatus()
public java.lang.String getText()
public void setAgent(java.lang.String agent)
agent
- The agent. Typically a caching agent.public void setDate(java.util.Date date)
date
- The warning date.public void setStatus(Status status)
status
- The special status.public void setText(java.lang.String text)
text
- The warning text.
|
Restlet Framework 2.2.2 Android |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |