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 -
Method Summary
Modifier and TypeMethodDescriptionvoid
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 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 classorg.apache.sling.api.servlets.SlingAllMethodsServlet
- Parameters:
request
- the Sling HTTP Request objectresponse
- the Sling HTTP Response object- Throws:
IOException
javax.servlet.ServletException
-