Class NodeServlet.JsonQueryOperation

    • Constructor Detail

      • JsonQueryOperation

        protected JsonQueryOperation()
    • Method Detail

      • writeQueryResult

        protected void writeQueryResult​(org.apache.sling.api.SlingHttpServletRequest request,
                                        org.apache.sling.api.SlingHttpServletResponse response,
                                        String queryString,
                                        javax.jcr.query.QueryResult result,
                                        com.composum.sling.core.filter.ResourceFilter filter,
                                        org.apache.sling.api.resource.ResourceResolver resolver)
                                 throws javax.jcr.RepositoryException,
                                        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 class NodeServlet.AbstractQueryOperation
        Throws:
        javax.jcr.RepositoryException
        IOException