|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.webdav.dom.Status
public class Status
A Status
parses an http status string.
Note: This class/interface is part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.
Constructor Summary | |
---|---|
Status(String status)
Creates a new status from the given http status string. |
Method Summary | |
---|---|
int |
getStatusCode()
Returns this status' status code. |
String |
getStatusMessage()
Returns this status' status message; for example, if the http status string was "HTTP/1.1 200 OK", the status message would be "OK". |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Status(String status) throws MalformedElementException
status
- the http status string; for example, "HTTP/1.1 200 OK"
MalformedElementException
- if the given status is malformedMethod Detail |
---|
public int getStatusCode()
Response
public String getStatusMessage()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |