Class UsersInitServlet
java.lang.Object
javax.servlet.GenericServlet
org.apache.sling.api.servlets.SlingSafeMethodsServlet
com.adobe.acs.commons.exporters.impl.users.UsersInitServlet
- All Implemented Interfaces:
Serializable,javax.servlet.Servlet,javax.servlet.ServletConfig
@SlingServlet(methods="GET",
resourceTypes="acs-commons/components/utilities/exporters/users-to-csv",
selectors="init",
extensions="json")
public class UsersInitServlet
extends org.apache.sling.api.servlets.SlingSafeMethodsServlet
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddoGet(org.apache.sling.api.SlingHttpServletRequest request, org.apache.sling.api.SlingHttpServletResponse response) Returns a JSON containing the options available to the form, and any prior saved data that should pre-populate the form.Methods inherited from class org.apache.sling.api.servlets.SlingSafeMethodsServlet
doGeneric, doHead, doOptions, doTrace, getAllowedRequestMethods, getServletInfo, handleMethodNotImplemented, mayService, service, serviceMethods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletName, init, init, log, log
-
Constructor Details
-
UsersInitServlet
public UsersInitServlet()
-
-
Method Details
-
doGet
public void doGet(org.apache.sling.api.SlingHttpServletRequest request, org.apache.sling.api.SlingHttpServletResponse response) throws IOException, javax.servlet.ServletException Returns a JSON containing the options available to the form, and any prior saved data that should pre-populate the form.- Overrides:
doGetin classorg.apache.sling.api.servlets.SlingSafeMethodsServlet- Parameters:
request- the Sling HTTP Request objectresponse- the Sling HTTP Response object- Throws:
IOExceptionjavax.servlet.ServletException
-