Class HttpURLConnectionResponseAdapter
java.lang.Object
oauth.signpost.basic.HttpURLConnectionResponseAdapter
- All Implemented Interfaces:
HttpResponse
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintunwrap()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:
getContentin interfaceHttpResponse- Throws:
IOException
-
getStatusCode
- Specified by:
getStatusCodein interfaceHttpResponse- Throws:
IOException
-
getReasonPhrase
- Specified by:
getReasonPhrasein interfaceHttpResponse- Throws:
Exception
-
unwrap
Description copied from interface:HttpResponseReturns the underlying response object, in case you need to work on it directly.- Specified by:
unwrapin interfaceHttpResponse- Returns:
- the wrapped response object
-