Class SignpostAdapters.HttpResponse
- java.lang.Object
-
- org.openstreetmap.josm.data.oauth.SignpostAdapters.HttpResponse
-
- All Implemented Interfaces:
oauth.signpost.http.HttpResponse
- Enclosing class:
- SignpostAdapters
static final class SignpostAdapters.HttpResponse extends Object implements oauth.signpost.http.HttpResponse
-
-
Field Summary
Fields Modifier and Type Field Description (package private) HttpClient.Response
response
-
Constructor Summary
Constructors Constructor Description HttpResponse(HttpClient.Response response)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InputStream
getContent()
String
getReasonPhrase()
int
getStatusCode()
Object
unwrap()
-
-
-
Field Detail
-
response
final HttpClient.Response response
-
-
Constructor Detail
-
HttpResponse
HttpResponse(HttpClient.Response response)
-
-
Method Detail
-
getStatusCode
public int getStatusCode()
- Specified by:
getStatusCode
in interfaceoauth.signpost.http.HttpResponse
-
getReasonPhrase
public String getReasonPhrase()
- Specified by:
getReasonPhrase
in interfaceoauth.signpost.http.HttpResponse
-
getContent
public InputStream getContent() throws IOException
- Specified by:
getContent
in interfaceoauth.signpost.http.HttpResponse
- Throws:
IOException
-
-