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.commons.httpclient.HttpMethod method) |
boolean |
releaseConnection()
For most responses, AGHTTPClient releases resources after
calling
handleResponse(HttpMethod) ; this can be
overridden in subclasses that stream results. |
public AGResponseHandler(String mimeType)
public String getRequestMIMEType()
public abstract void handleResponse(org.apache.commons.httpclient.HttpMethod method) throws IOException, AGHttpException
IOException
AGHttpException
public boolean releaseConnection()
handleResponse(HttpMethod)
; this can be
overridden in subclasses that stream results.Copyright © 2020 Franz Inc.. All rights reserved.