Class UsersInitServlet

  • All Implemented Interfaces:
    Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

    @SlingServlet(label="ACS AEM Commons - Users to CSV - Init Servlet",
                  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:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void doGet​(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, service
      • Methods inherited from class javax.servlet.GenericServlet

        destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletName, init, init, log, log
    • Constructor Detail

      • UsersInitServlet

        public UsersInitServlet()
    • Method Detail

      • 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:
        doGet in class org.apache.sling.api.servlets.SlingSafeMethodsServlet
        Parameters:
        request - the Sling HTTP Request object
        response - the Sling HTTP Response object
        Throws:
        IOException
        javax.servlet.ServletException