Package com.composum.sling.nodes.servlet
Class NodeServlet.ExportQueryOperation
- java.lang.Object
-
- com.composum.sling.nodes.servlet.NodeServlet.AbstractQueryOperation
-
- com.composum.sling.nodes.servlet.NodeServlet.ExportQueryOperation
-
- All Implemented Interfaces:
ServletOperation
- Enclosing class:
- NodeServlet
protected class NodeServlet.ExportQueryOperation extends NodeServlet.AbstractQueryOperation
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedExportQueryOperation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected @Nullable LonggetQueryLimit()protected voidwriteQueryResult(@NotNull org.apache.sling.api.SlingHttpServletRequest request, @NotNull org.apache.sling.api.SlingHttpServletResponse response, @NotNull String queryString, @NotNull javax.jcr.query.QueryResult result, @NotNull ResourceFilter filter, @NotNull org.apache.sling.api.resource.ResourceResolver resolver)Writes the query result in the format appropriate to the output.-
Methods inherited from class com.composum.sling.nodes.servlet.NodeServlet.AbstractQueryOperation
accept, doIt, getSimpleQuery, writeError
-
-
-
-
Method Detail
-
getQueryLimit
@Nullable protected @Nullable Long getQueryLimit()
- Overrides:
getQueryLimitin classNodeServlet.AbstractQueryOperation
-
writeQueryResult
protected void writeQueryResult(@NotNull @NotNull org.apache.sling.api.SlingHttpServletRequest request, @NotNull @NotNull org.apache.sling.api.SlingHttpServletResponse response, @NotNull @NotNull String queryString, @NotNull @NotNull javax.jcr.query.QueryResult result, @NotNull @NotNull ResourceFilter filter, @NotNull @NotNull org.apache.sling.api.resource.ResourceResolver resolver) throws javax.servlet.ServletException, IOExceptionDescription copied from class:NodeServlet.AbstractQueryOperationWrites the query result in the format appropriate to the output. Caution: think of escaping appropriately (XSS etc.).- Specified by:
writeQueryResultin classNodeServlet.AbstractQueryOperation- Throws:
javax.servlet.ServletExceptionIOException
-
-