public abstract class AbstractPredicateServlet extends SlingAllMethodsServlet
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
FILTER_PARAM
default name for the filter parameter
|
static java.lang.String |
PATH_PARAM
default path parameter name
|
static java.lang.String |
PREDICATE_PARAM
default name for the predicate parameter
|
| Constructor and Description |
|---|
AbstractPredicateServlet() |
| Modifier and Type | Method and Description |
|---|---|
Predicate |
getPredicate(SlingHttpServletRequest request)
Returns the predicate retrieved from the given request.
|
getServletInfo, servicepublic static final java.lang.String PATH_PARAM
public static final java.lang.String PREDICATE_PARAM
public static final java.lang.String FILTER_PARAM
public 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 requestCopyright © 2010 - 2023 Adobe. All Rights Reserved