Class UsersSaveServlet

java.lang.Object
javax.servlet.GenericServlet
org.apache.sling.api.servlets.SlingSafeMethodsServlet
org.apache.sling.api.servlets.SlingAllMethodsServlet
com.adobe.acs.commons.exporters.impl.users.UsersSaveServlet
All Implemented Interfaces:
Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

@SlingServlet(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:
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • UsersSaveServlet

      public UsersSaveServlet()
  • Method Details

    • 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