|Modifier and Type||Field and Description|
Defines one or more annotations that should be used as entity-filtering scope when reading/writing an entity.
|Constructor and Description|
|Modifier and Type||Method and Description|
A call-back method called when the feature is to be enabled in a given runtime configuration scope.
public static final String ENTITY_FILTERING_SCOPE
The property can be used on client to define the scope as well as on server to override the scope derived from current request processing context (resource methods / resource classes).
If the property is set, the specified annotations will be used to create (override) entity-filtering scope.
A default value is not set.
The name of the configuration property is "jersey.config.entityFiltering.scope".
public boolean configure(FeatureContext context)
trueif the feature was successfully enabled or
Note that under some circumstances the feature may decide not to enable itself, which
is indicated by returning
false. In such case the configuration context does
not add the feature to the collection of enabled features and a subsequent call to
public static boolean enabled(Configuration config)
truewhether at least one of the entity filtering features is registered in the given config.
config- config to be examined for presence of entity filtering feature.
trueif entity filtering is enabled for given config,
Copyright © 2007-2017, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.