Package oauth.signpost.basic
Class HttpURLConnectionResponseAdapter
java.lang.Object
oauth.signpost.basic.HttpURLConnectionResponseAdapter
- All Implemented Interfaces:
HttpResponse
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
unwrap()
Returns the underlying response object, in case you need to work on it directly.
-
Field Details
-
connection
-
-
Constructor Details
-
HttpURLConnectionResponseAdapter
-
-
Method Details
-
getContent
- Specified by:
getContent
in interfaceHttpResponse
- Throws:
IOException
-
getStatusCode
- Specified by:
getStatusCode
in interfaceHttpResponse
- Throws:
IOException
-
getReasonPhrase
- Specified by:
getReasonPhrase
in interfaceHttpResponse
- Throws:
Exception
-
unwrap
Description copied from interface:HttpResponse
Returns the underlying response object, in case you need to work on it directly.- Specified by:
unwrap
in interfaceHttpResponse
- Returns:
- the wrapped response object
-