Package com.adobe.granite.rest.filter
Interface FilterFactory
-
@ConsumerType public interface FilterFactory
TheFilterFactorydefines the service interface to get and createFilter's dynamically on a per usage base.Implementations of this interface must be defined as OSGi services and define a service property
NAMEwhich is used to select the FilterFactory when a request parameter with the namefilter.<name>is provided with the request.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringNAMEThe name of the service registration property containing the name this this FilterFactory is registered with (value is "filterfactory.name").
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Filter<Resource>getFilter(java.lang.String value)Returns aFilterinstance which may be initialized with the specifiedvalue.
-
-
-
Field Detail
-
NAME
static final java.lang.String NAME
The name of the service registration property containing the name this this FilterFactory is registered with (value is "filterfactory.name").- See Also:
- Constant Field Values
-
-