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