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.
|
| Modifier and Type | Field and Description |
|---|---|
protected static String |
LIMIT |
protected static int |
LIMIT_DEFAULT |
variables, xslCONTEXT, cookies, INFO, NON_VERIFYING_PARSER_CONFIGinfo, manager, MANAGER_PARAM, repository, REPOSITORY_PARAM, vfACCEPT, 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, SERVER_USER_PASSWORD, TEXT_HTML, TEXT_PLAIN, 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) |
servicedoPost, init, service, servicesetRepository, setRepositoryInfo, setRepositoryManagercheckJSONP, destroy, getBooleanResultFormat, getJSONPResultFormat, getResultWriter, getServletConfig, getServletInfo, getTupleResultBuilder, getTupleResultFormat, serviceprotected static final String LIMIT
protected static final int LIMIT_DEFAULT
public String[] getCookieNames()
getCookieNames in class TransformationServletpublic void service(WorkbenchRequest req, javax.servlet.http.HttpServletResponse resp, String xslPath) throws Exception
service in class TupleServletExceptionprotected void service(WorkbenchRequest req, javax.servlet.http.HttpServletResponse resp, TupleResultBuilder builder, RepositoryConnection con) throws BadRequestException, RDF4JException
service in class TupleServletBadRequestExceptionRDF4JExceptionprotected ExploreServlet.ResultCursor processResource(RepositoryConnection con, TupleResultBuilder builder, Value value, int offset, int limit, boolean render) throws RDF4JException
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.RDF4JException - if there is an issue iterating through resultsCopyright © 2015-2022 Eclipse Foundation. All Rights Reserved.