private static class SignpostAdapters.HttpResponse extends Object implements oauth.signpost.http.HttpResponse
| Modifier and Type | Field and Description |
|---|---|
private HttpClient.Response |
response |
| Constructor and Description |
|---|
HttpResponse(HttpClient.Response response) |
| Modifier and Type | Method and Description |
|---|---|
InputStream |
getContent() |
String |
getReasonPhrase() |
int |
getStatusCode() |
Object |
unwrap() |
private final HttpClient.Response response
HttpResponse(HttpClient.Response response)
public int getStatusCode() throws IOException
getStatusCode in interface oauth.signpost.http.HttpResponseIOExceptionpublic String getReasonPhrase() throws Exception
getReasonPhrase in interface oauth.signpost.http.HttpResponseExceptionpublic InputStream getContent() throws IOException
getContent in interface oauth.signpost.http.HttpResponseIOException