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.HttpResponse
IOException
public String getReasonPhrase() throws Exception
getReasonPhrase
in interface oauth.signpost.http.HttpResponse
Exception
public InputStream getContent() throws IOException
getContent
in interface oauth.signpost.http.HttpResponse
IOException