Package com.adobe.granite.rest.filter
Interface FilterFactory
-
@ConsumerType public interface FilterFactory
TheFilterFactory
defines 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
NAME
which 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.String
NAME
The 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 aFilter
instance 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
-
-