Package com.day.cq.commons.servlets
Class AbstractCommandServlet
- java.lang.Object
-
- javax.servlet.GenericServlet
-
- org.apache.sling.api.servlets.SlingSafeMethodsServlet
-
- org.apache.sling.api.servlets.SlingAllMethodsServlet
-
- com.day.cq.commons.servlets.AbstractPredicateServlet
-
- com.day.cq.commons.servlets.AbstractCommandServlet
-
- All Implemented Interfaces:
java.io.Serializable
,Servlet
,ServletConfig
public abstract class AbstractCommandServlet extends AbstractPredicateServlet
Abstract servlet to use for the client/server command interface. Note: due to a problem in SCR plugin, this class cannot extend from theAbstractPredicateServlet
because the predicate provider reference would be double defined.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
ACTION_PARAM
default action parameter namestatic java.lang.String
PATH_PARAM
default path parameter name-
Fields inherited from class com.day.cq.commons.servlets.AbstractPredicateServlet
FILTER_PARAM, PREDICATE_PARAM
-
-
Constructor Summary
Constructors Constructor Description AbstractCommandServlet()
-
Method Summary
-
Methods inherited from class com.day.cq.commons.servlets.AbstractPredicateServlet
getPredicate
-
Methods inherited from class org.apache.sling.api.servlets.SlingSafeMethodsServlet
getServletInfo, service
-
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletName, init, init, log, log
-
-
-
-
Field Detail
-
PATH_PARAM
public static final java.lang.String PATH_PARAM
default path parameter name- See Also:
- Constant Field Values
-
ACTION_PARAM
public static final java.lang.String ACTION_PARAM
default action parameter name- See Also:
- Constant Field Values
-
-