|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A response inteface. Makes all protocols model HTTP.
Method Summary | |
int |
getCode()
Returns the response code. |
byte[] |
getCompressedContent()
Returns the compressed version of the content if the server transmitted a compressed version, or null
otherwise. |
byte[] |
getContent()
Returns the full content of the response. |
String |
getHeader(String name)
Returns the value of a named header. |
int |
getNumContinues()
Returns the number of 100/Continue headers encountered |
URL |
getUrl()
Returns the URL used to retrieve this response. |
Method Detail |
public URL getUrl()
public int getCode()
public String getHeader(String name)
public byte[] getContent()
public byte[] getCompressedContent()
null
otherwise.
public int getNumContinues()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |