Package com.day.cq.commons.servlets
Class AbstractPredicateServlet
java.lang.Object
javax.servlet.GenericServlet
org.apache.sling.api.servlets.SlingSafeMethodsServlet
org.apache.sling.api.servlets.SlingAllMethodsServlet
com.day.cq.commons.servlets.AbstractPredicateServlet
- All Implemented Interfaces:
Serializable
,Servlet
,ServletConfig
- Direct Known Subclasses:
AbstractCommandServlet
,AbstractListServlet
,AbstractSearchServlet
,ContentFinderListInfoProviderHelper
,OverlayServlet
Deprecated.
Abstract servlet that retrieves the predicates from the request.
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
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 Details
-
PATH_PARAM
Deprecated.default path parameter name- See Also:
-
PREDICATE_PARAM
Deprecated.default name for the predicate parameter- See Also:
-
FILTER_PARAM
Deprecated.default name for the filter parameter- See Also:
-
-
Constructor Details
-
AbstractPredicateServlet
public AbstractPredicateServlet()Deprecated.
-
-
Method Details
-
getPredicate
Deprecated.Returns the predicate retrieved from the given request. the predicates are retrieved from the request selectors and the request parameter values of the "predicate". those predicates form anAnyPredicate
. If no predicates are specified in the request aTruePredicate
is returned.Note: the "filter" parameters are used to add
ResourceFilter
predicates. although this is discouraged because java class names should never be passed over the wire.- Parameters:
request
- servlet request- Returns:
- predicate
-
AbstractPredicateServlet
instead