public abstract class AGTQRStreamer extends AGResponseHandler
Constructor and Description |
---|
AGTQRStreamer(String mimeType) |
Modifier and Type | Method and Description |
---|---|
static AGTQRStreamer |
createStreamer(TupleQueryResultFormat format,
AGValueFactory vf) |
abstract String |
getRequestMIMEType() |
abstract TupleQueryResult |
getResult() |
abstract void |
handleResponse(org.apache.commons.httpclient.HttpMethod method) |
boolean |
releaseConnection()
False because the Result will release the HTTP resources.
|
public AGTQRStreamer(String mimeType)
public abstract String getRequestMIMEType()
getRequestMIMEType
in class AGResponseHandler
public boolean releaseConnection()
handleResponse(HttpMethod)
,
but here the results are pulled when needed from the Result class,
which is an inner class of child classes.releaseConnection
in class AGResponseHandler
public abstract void handleResponse(org.apache.commons.httpclient.HttpMethod method) throws IOException, AGHttpException
handleResponse
in class AGResponseHandler
IOException
AGHttpException
public abstract TupleQueryResult getResult()
public static AGTQRStreamer createStreamer(TupleQueryResultFormat format, AGValueFactory vf)
Copyright © 2021 Franz Inc.. All rights reserved.