Package com.composum.sling.nodes.servlet
Class ExportQueryJson
- java.lang.Object
-
- javax.servlet.GenericServlet
-
- org.apache.sling.api.servlets.SlingSafeMethodsServlet
-
- org.apache.sling.api.servlets.SlingAllMethodsServlet
-
- com.composum.sling.nodes.servlet.ExportQueryJson
-
- All Implemented Interfaces:
com.composum.sling.core.service.RestrictedService
,Serializable
,javax.servlet.Servlet
,javax.servlet.ServletConfig
public class ExportQueryJson extends org.apache.sling.api.servlets.SlingAllMethodsServlet implements com.composum.sling.core.service.RestrictedService
a servlet to export the results of a query execution as a JSON object with emebedded object for each found resource - the resource type of this servlet is used in the 'export set' configuration; see: /libs/composum/nodes/browser/query/export/json- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
SERVICE_KEY
-
Constructor Summary
Constructors Constructor Description ExportQueryJson()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
doPost(@NotNull org.apache.sling.api.SlingHttpServletRequest request, @NotNull org.apache.sling.api.SlingHttpServletResponse response)
com.composum.sling.core.service.ServiceRestrictions.Key
getServiceKey()
-
Methods inherited from class org.apache.sling.api.servlets.SlingAllMethodsServlet
doDelete, doPut, getAllowedRequestMethods, isMethodValid, mayService
-
Methods inherited from class org.apache.sling.api.servlets.SlingSafeMethodsServlet
doGeneric, doGet, doHead, doOptions, doTrace, getServletInfo, handleMethodNotImplemented, service, service
-
-
-
-
Field Detail
-
SERVICE_KEY
public static final String SERVICE_KEY
- See Also:
- Constant Field Values
-
-
Method Detail
-
getServiceKey
@NotNull public com.composum.sling.core.service.ServiceRestrictions.Key getServiceKey()
- Specified by:
getServiceKey
in interfacecom.composum.sling.core.service.RestrictedService
-
doPost
protected void doPost(@NotNull @NotNull org.apache.sling.api.SlingHttpServletRequest request, @NotNull @NotNull org.apache.sling.api.SlingHttpServletResponse response) throws IOException
- Overrides:
doPost
in classorg.apache.sling.api.servlets.SlingAllMethodsServlet
- Throws:
IOException
-
-