public abstract class AGResponseHandler extends Object
| Constructor and Description |
|---|
AGResponseHandler(String mimeType) |
| Modifier and Type | Method and Description |
|---|---|
String |
getRequestMIMEType() |
abstract void |
handleResponse(org.apache.http.HttpResponse httpResponse,
org.apache.http.client.methods.HttpUriRequest httpUriRequest) |
boolean |
releaseConnection()
For most responses, AGHTTPClient releases resources after
calling
handleResponse(HttpResponse, HttpUriRequest); this can be
overridden in subclasses that stream results. |
public AGResponseHandler(String mimeType)
public String getRequestMIMEType()
public abstract void handleResponse(org.apache.http.HttpResponse httpResponse,
org.apache.http.client.methods.HttpUriRequest httpUriRequest)
throws IOException,
AGHttpException
IOExceptionAGHttpExceptionpublic boolean releaseConnection()
handleResponse(HttpResponse, HttpUriRequest); this can be
overridden in subclasses that stream results.Copyright © 2024 Franz Inc.. All rights reserved.