Class UsersSaveServlet

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

    @SlingServlet(label="ACS AEM Commons - Users to CSV - Save Servlet",
                  methods="POST",
                  resourceTypes="acs-commons/components/utilities/exporters/users-to-csv",
                  selectors="save",
                  extensions="json")
    public class UsersSaveServlet
    extends org.apache.sling.api.servlets.SlingAllMethodsServlet
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void doPost​(org.apache.sling.api.SlingHttpServletRequest request, org.apache.sling.api.SlingHttpServletResponse response)
      Persists the Users to CSV form data to the underlying jcr:content node.
      • 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
      • Methods inherited from class javax.servlet.GenericServlet

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

      • UsersSaveServlet

        public UsersSaveServlet()
    • Method Detail

      • doPost

        public void doPost​(org.apache.sling.api.SlingHttpServletRequest request,
                           org.apache.sling.api.SlingHttpServletResponse response)
                    throws IOException,
                           javax.servlet.ServletException
        Persists the Users to CSV form data to the underlying jcr:content node.
        Overrides:
        doPost in class org.apache.sling.api.servlets.SlingAllMethodsServlet
        Parameters:
        request - the Sling HTTP Request object
        response - the Sling HTTP Response object
        Throws:
        IOException
        javax.servlet.ServletException