public class Response extends Object
| Modifier and Type | Method and Description |
|---|---|
void |
discardContent() |
<T> T |
handleResponse(ResponseHandler<T> handler) |
Content |
returnContent() |
org.apache.http.HttpResponse |
returnResponse() |
void |
saveContent(File file) |
public void discardContent()
public <T> T handleResponse(ResponseHandler<T> handler) throws ClientProtocolException, IOException
ClientProtocolExceptionIOExceptionpublic Content returnContent() throws ClientProtocolException, IOException
ClientProtocolExceptionIOExceptionpublic org.apache.http.HttpResponse returnResponse()
throws IOException
IOExceptionpublic void saveContent(File file) throws IOException
IOExceptionCopyright © 1999-2012 The Apache Software Foundation. All Rights Reserved.