static final class SignpostAdapters.HttpResponse extends java.lang.Object implements oauth.signpost.http.HttpResponse
| Modifier and Type | Field and Description |
|---|---|
(package private) HttpClient.Response |
response |
| Constructor and Description |
|---|
HttpResponse(HttpClient.Response response) |
| Modifier and Type | Method and 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.
|
final HttpClient.Response response
HttpResponse(HttpClient.Response response)
public int getStatusCode()
getStatusCode in interface oauth.signpost.http.HttpResponsepublic java.lang.String getReasonPhrase()
getReasonPhrase in interface oauth.signpost.http.HttpResponsepublic java.io.InputStream getContent() throws java.io.IOException
getContent in interface oauth.signpost.http.HttpResponsejava.io.IOExceptionpublic java.lang.Object unwrap()
oauth.signpost.http.HttpResponseunwrap in interface oauth.signpost.http.HttpResponse