|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.twitterapime.io.HttpResponse
public final class HttpResponse
This class implements a Http response.
Method Summary | |
---|---|
java.lang.String |
getBodyContent()
Get the response's body content. |
int |
getCode()
Get the response code. |
java.io.InputStream |
getStream()
Get the response's stream. |
boolean |
wasSuccessful()
Returns whether the request was OK. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public boolean wasSuccessful()
Returns whether the request was OK.
public java.lang.String getBodyContent() throws java.io.IOException
Get the response's body content.
java.io.IOException
- If an I/O error occurs.public java.io.InputStream getStream()
Get the response's stream.
public int getCode()
Get the response code.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |