Package oauth.signpost.http
Interface HttpResponse
-
- All Known Implementing Classes:
HttpResponseAdapter
,HttpURLConnectionResponseAdapter
public interface HttpResponse
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InputStream
getContent()
String
getReasonPhrase()
int
getStatusCode()
Object
unwrap()
Returns the underlying response object, in case you need to work on it directly.
-
-
-
Method Detail
-
getStatusCode
int getStatusCode() throws IOException
- Throws:
IOException
-
getContent
InputStream getContent() throws IOException
- Throws:
IOException
-
unwrap
Object unwrap()
Returns the underlying response object, in case you need to work on it directly.- Returns:
- the wrapped response object
-
-