Package org.apache.http.client.fluent
Class Response
java.lang.Object
org.apache.http.client.fluent.Response
-
Method Summary
Modifier and TypeMethodDescriptionvoidDiscards response content and deallocates all resources associated with it.<T> ThandleResponse(ResponseHandler<T> handler) Handles the response using the specifiedResponseHandlervoidsaveContent(File file)
-
Method Details
-
discardContent
public void discardContent()Discards response content and deallocates all resources associated with it. -
handleResponse
Handles the response using the specifiedResponseHandler- Throws:
ClientProtocolExceptionIOException
-
returnContent
- Throws:
ClientProtocolExceptionIOException
-
returnResponse
- Throws:
IOException
-
saveContent
- Throws:
IOException
-