|
Enhydra 5.1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object used to access HTTP response data for debugging purposes.
Method Summary | |
int |
getContentLength()
Returns the size of the response entity data, or -1 if not known. |
java.lang.String |
getContentType()
Returns the Internet Media Type of the response entity data, or null if not known. |
javax.servlet.http.Cookie[] |
getCookies()
Returns an array of cookies to be set by this response. |
java.lang.String |
getHeader(java.lang.String name)
Returns the values of the specified header for the response as an array of strings, or a 0 length array if the named header does not exist. |
java.util.Enumeration |
getHeaderNames()
Returns an array of strings representing the header names for this response. |
java.lang.String |
getResponseData()
Returns the data written to the output stream associated with this request, or null if that data was not kept. |
int |
getStatusCode()
Returns the status code for the response. |
java.lang.String |
getStatusMessage()
Returns the status message for the response. |
int |
getTotalBytes()
Returns the number of bytes associated with the response. |
Method Detail |
public int getContentLength()
public java.lang.String getContentType()
public int getStatusCode()
public java.lang.String getStatusMessage()
public javax.servlet.http.Cookie[] getCookies()
public java.lang.String getHeader(java.lang.String name)
name
- the case-insensitive header field namepublic java.util.Enumeration getHeaderNames()
public int getTotalBytes()
public java.lang.String getResponseData()
|
Enhydra 5.1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |