@Service
@Properties(value={@Property(name="sling.servlet.resourceTypes",value="sling/bg/job"),@Property(name="sling.servlet.methods",value="POST")})
public class JobStateChangeServlet
extends org.apache.sling.api.servlets.SlingAllMethodsServlet
Modifier and Type | Field and Description |
---|---|
static String |
PARAM_STATE |
Constructor and Description |
---|
JobStateChangeServlet() |
Modifier and Type | Method and Description |
---|---|
protected void |
doPost(org.apache.sling.api.SlingHttpServletRequest request,
org.apache.sling.api.SlingHttpServletResponse response) |
doDelete, doPut, getAllowedRequestMethods, isMethodValid, mayService
doGeneric, doGet, doHead, doOptions, doTrace, getServletInfo, handleMethodNotImplemented, service, service
public static final String PARAM_STATE
protected void doPost(org.apache.sling.api.SlingHttpServletRequest request, org.apache.sling.api.SlingHttpServletResponse response) throws javax.servlet.ServletException, IOException
doPost
in class org.apache.sling.api.servlets.SlingAllMethodsServlet
javax.servlet.ServletException
IOException
Copyright © 2007–2015 The Apache Software Foundation. All rights reserved.