|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A Latka Response represents a response from an HTTP server.
Method Summary | |
int |
getByteLength()
Returns the length of the Response stream (as bytes), or -1 if no stream is available |
java.lang.String |
getHeader(java.lang.String headerName)
Check a response header. |
Request |
getRequest()
The request that generated this response |
java.lang.String |
getResource()
|
int |
getStatusCode()
|
java.io.InputStream |
getStream()
Get the actual bytes returned by the web server |
Method Detail |
public int getByteLength()
public java.lang.String getHeader(java.lang.String headerName)
headerName
- The name of the header to find in the Reponsepublic Request getRequest()
public java.lang.String getResource()
public int getStatusCode()
public java.io.InputStream getStream()
|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |