Interface HttpResponse
- All Known Implementing Classes:
HttpResponseAdapter, HttpURLConnectionResponseAdapter
public interface HttpResponse
-
Method Summary
Modifier and TypeMethodDescriptionintunwrap()Returns the underlying response object, in case you need to work on it directly.
-
Method Details
-
getStatusCode
- Throws:
IOException
-
getReasonPhrase
-
getContent
- Throws:
IOException
-
unwrap
Object unwrap()Returns the underlying response object, in case you need to work on it directly.- Returns:
- the wrapped response object
-