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 protected
ExportQueryOperation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected @Nullable Long
getQueryLimit()
protected void
writeQueryResult(@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:
getQueryLimit
in 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, IOException
Description copied from class:NodeServlet.AbstractQueryOperation
Writes the query result in the format appropriate to the output. Caution: think of escaping appropriately (XSS etc.).- Specified by:
writeQueryResult
in classNodeServlet.AbstractQueryOperation
- Throws:
javax.servlet.ServletException
IOException
-
-