public class ExploreServlet extends TupleServlet
Modifier and Type | Class and Description |
---|---|
protected class |
ExploreServlet.ResultCursor
Class for keeping track of location within the result set, relative to
offset and limit.
|
variables, xsl
CONTEXT, cookies, INFO, NON_VERIFYING_PARSER_CONFIG
info, manager, MANAGER_PARAM, repository, REPOSITORY_PARAM, vf
ACCEPT, appConfig, APPLICATION_JAVASCRIPT, APPLICATION_SPARQL_RESULTS_XML, APPLICATION_XML, config, DEFAULT_JSONP_CALLBACK_PARAMETER, JSONP_CALLBACK_PARAMETER, JSONP_ENABLED, JSONP_VALIDATOR, log, MOZILLA, MSIE, SERVER_PASSWORD, SERVER_USER, TEXT_HTML, USER_AGENT
Constructor and Description |
---|
ExploreServlet() |
Modifier and Type | Method and Description |
---|---|
String[] |
getCookieNames() |
protected ExploreServlet.ResultCursor |
processResource(RepositoryConnection con,
TupleResultBuilder builder,
Value value,
int offset,
int limit,
boolean render)
Query the repository for all instances of the given value, optionally
writing the results into the HTTP response.
|
void |
service(WorkbenchRequest req,
javax.servlet.http.HttpServletResponse resp,
String xslPath) |
protected void |
service(WorkbenchRequest req,
javax.servlet.http.HttpServletResponse resp,
TupleResultBuilder builder,
RepositoryConnection con) |
service
doPost, init, service, service
setRepository, setRepositoryInfo, setRepositoryManager
destroy, getBooleanResultFormat, getJSONPResultFormat, getResultWriter, getServletConfig, getServletInfo, getTupleResultBuilder, getTupleResultFormat, service
public String[] getCookieNames()
getCookieNames
in class TransformationServlet
public void service(WorkbenchRequest req, javax.servlet.http.HttpServletResponse resp, String xslPath) throws Exception
service
in class TupleServlet
Exception
protected void service(WorkbenchRequest req, javax.servlet.http.HttpServletResponse resp, TupleResultBuilder builder, RepositoryConnection con) throws BadRequestException, OpenRDFException
service
in class TupleServlet
BadRequestException
OpenRDFException
protected ExploreServlet.ResultCursor processResource(RepositoryConnection con, TupleResultBuilder builder, Value value, int offset, int limit, boolean render) throws OpenRDFException
con
- the connection to the repositorybuilder
- used for writing to the HTTP responsevalue
- the value to query the repository foroffset
- The result at which to start rendering results.limit
- The limit on the number of results to render.render
- If false, suppresses output to the HTTP response.OpenRDFException
- if there is an issue iterating through resultsCopyright © 2001-2016 Aduna. All Rights Reserved.