public abstract class AbstractPredicateServlet extends SlingAllMethodsServlet
Modifier and Type | Field and Description |
---|---|
static String |
FILTER_PARAM
default name for the filter parameter
|
static String |
PATH_PARAM
default path parameter name
|
static String |
PREDICATE_PARAM
default name for the predicate parameter
|
Constructor and Description |
---|
AbstractPredicateServlet() |
Modifier and Type | Method and Description |
---|---|
org.apache.commons.collections.Predicate |
getPredicate(SlingHttpServletRequest request)
Returns the predicate retrieved from the given request.
|
getServletInfo, service
public static final String PATH_PARAM
public static final String PREDICATE_PARAM
public static final String FILTER_PARAM
public org.apache.commons.collections.Predicate getPredicate(SlingHttpServletRequest request)
AnyPredicate
. If no predicates are specified in the request a
TruePredicate
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.request
- servlet request"Copyright © 2006 - 2015 Adobe Systems Incorporated. All Rights Reserved"