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 java.io.InputStream
getContent()
java.lang.String
getReasonPhrase()
int
getStatusCode()
java.lang.Object
unwrap()
Returns the underlying response object, in case you need to work on it directly.
-
-
-
Method Detail
-
getStatusCode
int getStatusCode() throws java.io.IOException
- Throws:
java.io.IOException
-
getReasonPhrase
java.lang.String getReasonPhrase() throws java.lang.Exception
- Throws:
java.lang.Exception
-
getContent
java.io.InputStream getContent() throws java.io.IOException
- Throws:
java.io.IOException
-
unwrap
java.lang.Object unwrap()
Returns the underlying response object, in case you need to work on it directly.- Returns:
- the wrapped response object
-
-