|
SAP NetWeaver 2004S SPS 10 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sapportals.wcm.util.http.HttpStatus
WDStatus represents a HTTP conform status line with protocol, status code and optional description.
Copyright (c) SAP AG 2001-2002
| Constructor Summary | |
HttpStatus()
Construct a new empty status |
|
HttpStatus(String statusLine)
Construct a new status from the given line |
|
| Method Summary | |
int |
getCode()
|
static int |
getCode(String line)
Return code from a HTTP status line |
String |
getDescription()
|
String |
getProtocol()
|
void |
parse(String line)
Reinitialize the WDStatus from the given line |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public HttpStatus()
public HttpStatus(String statusLine)
throws WcmException
statusLine - TBD: Description of the incoming method parameter
WcmException - Exception raised in failure situation| Method Detail |
public static int getCode(String line)
throws WcmException
line - TBD: Description of the incoming method parameter
WcmException - Exception raised in failure situationpublic String getProtocol()
public int getCode()
public String getDescription()
null if missing
public void parse(String line)
throws WcmException
line - TBD: Description of the incoming method parameter
WcmException - Exception raised in failure situation
|
SAP NetWeaver 2004S SPS 10 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||