Uses of Interface
org.glassfish.jersey.message.filtering.spi.EntityGraph
Packages that use EntityGraph
Package
Description
Support for Entity Data Filtering in Jersey.
SPI for Entity Data Filtering in Jersey.
-
Uses of EntityGraph in org.glassfish.jersey.message.filtering
Classes in org.glassfish.jersey.message.filtering that implement EntityGraphModifier and TypeClassDescription(package private) final class
EntityGraph
implementation that does not contain any fields/subgraphs.(package private) final class
Default implementation ofEntityGraph
.Fields in org.glassfish.jersey.message.filtering declared as EntityGraphModifier and TypeFieldDescriptionprivate final EntityGraph
EntityProcessorContextImpl.graph
private final EntityGraph
ObjectGraphImpl.graph
Fields in org.glassfish.jersey.message.filtering with type parameters of type EntityGraphModifier and TypeFieldDescriptionprivate final Map<Class<?>,
EntityGraph> ObjectGraphImpl.classToGraph
private final ConcurrentMap<Class<?>,
EntityGraph> EntityGraphProviderImpl.readerClassToGraph
private final ConcurrentMap<Class<?>,
EntityGraph> EntityGraphProviderImpl.writerClassToGraph
Methods in org.glassfish.jersey.message.filtering that return EntityGraphModifier and TypeMethodDescriptionEmptyEntityGraphImpl.addFilteringScopes
(Set<String> filteringScopes) EmptyEntityGraphImpl.addSubgraph
(String fieldName, Class<?> fieldClass) EmptyEntityGraphImpl.addSubgraph
(String fieldName, Class<?> fieldClass, String... filteringScopes) EmptyEntityGraphImpl.addSubgraph
(String fieldName, Class<?> fieldClass, Set<String> filteringScopes) EntityProcessorContextImpl.getEntityGraph()
EntityGraphProviderImpl.getOrCreateEmptyEntityGraph
(Class<?> entityClass, boolean forWriter) EntityGraphProviderImpl.getOrCreateEntityGraph
(Class<?> entityClass, boolean forWriter) Methods in org.glassfish.jersey.message.filtering that return types with arguments of type EntityGraphModifier and TypeMethodDescriptionMap<Class<?>,
EntityGraph> EntityGraphProviderImpl.asMap
(boolean forWriter) Return an unmodifiable map of entity graphs for reader/writer.Methods in org.glassfish.jersey.message.filtering with parameters of type EntityGraphModifier and TypeMethodDescriptionprivate boolean
EntityInspectorImpl.inspectEntityClass
(Class<?> entityClass, EntityGraph graph, boolean forWriter) Invoke availableEntityProcessor
s on given entity class.EntityInspectorImpl.inspectEntityProperties
(Class<?> entityClass, EntityGraph graph, Set<Class<?>> inspect, boolean forWriter) Invoke availableEntityProcessor
s on fields of given entity class.private void
EntityInspectorImpl.inspectStandaloneAccessors
(Map<String, Method> unprocessedAccessors, EntityGraph graph, boolean forWriter) Invoke availableEntityProcessor
s on accessors (getter/setter) that has no match in classes' fields.private void
DefaultEntityProcessor.process
(EntityGraph graph, String fieldName, Type fieldType) protected EntityProcessor.Result
EntityFilteringProcessor.process
(String field, Class<?> fieldClass, Annotation[] fieldAnnotations, Annotation[] annotations, EntityGraph graph) protected EntityProcessor.Result
SecurityEntityProcessor.process
(String fieldName, Class<?> fieldClass, Annotation[] fieldAnnotations, Annotation[] annotations, EntityGraph graph) protected EntityProcessor.Result
SelectableEntityProcessor.process
(String fieldName, Class<?> fieldClass, Annotation[] fieldAnnotations, Annotation[] annotations, EntityGraph graph) Constructors in org.glassfish.jersey.message.filtering with parameters of type EntityGraphModifierConstructorDescriptionEntityProcessorContextImpl
(EntityProcessorContext.Type type, Class<?> clazz, Field field, Method method, EntityGraph graph) Create entity processor context for processing entity accessors.EntityProcessorContextImpl
(EntityProcessorContext.Type type, Class<?> clazz, EntityGraph graph) Create entity processor context for processing entity classes.EntityProcessorContextImpl
(EntityProcessorContext.Type type, Field field, Method method, EntityGraph graph) Create entity processor context for processing entity properties.EntityProcessorContextImpl
(EntityProcessorContext.Type type, Method method, EntityGraph graph) Create entity processor context for processing entity accessors.(package private)
ObjectGraphImpl
(Map<Class<?>, EntityGraph> classToGraph, EntityGraph graph, Set<String> filteringScopes) Constructor parameters in org.glassfish.jersey.message.filtering with type arguments of type EntityGraphModifierConstructorDescription(package private)
ObjectGraphImpl
(Map<Class<?>, EntityGraph> classToGraph, EntityGraph graph, Set<String> filteringScopes) -
Uses of EntityGraph in org.glassfish.jersey.message.filtering.spi
Methods in org.glassfish.jersey.message.filtering.spi that return EntityGraphModifier and TypeMethodDescriptionAdd a field into this graph for all existing entity-filtering scopes.Add a field into this graph for given list of entity-filtering scopes.Add a field into this graph for given set of entity-filtering scopes.EntityGraph.addFilteringScopes
(Set<String> filteringScopes) Add a set of entity-filtering scopes to this graph.EntityGraph.addSubgraph
(String fieldName, Class<?> fieldClass) Add a subgraph into this graph for all existing entity-filtering scopes.EntityGraph.addSubgraph
(String fieldName, Class<?> fieldClass, String... filteringScopes) Add a subgraph into this graph for given list of entity-filtering scopes.EntityGraph.addSubgraph
(String fieldName, Class<?> fieldClass, Set<String> filteringScopes) Add a subgraph into this graph for given set of entity-filtering scopes.EntityProcessorContext.getEntityGraph()
Get entity graph to be modified by the processing.EntityGraphProvider.getOrCreateEmptyEntityGraph
(Class<?> entityClass, boolean forWriter) Get an empty entity graph for given class.EntityGraphProvider.getOrCreateEntityGraph
(Class<?> entityClass, boolean forWriter) Get an entity graph for given class.Remove a field/subgraph from the graph (all entity-filtering scopes).Methods in org.glassfish.jersey.message.filtering.spi with parameters of type EntityGraphModifier and TypeMethodDescriptionprotected final void
AbstractEntityProcessor.addFilteringScopes
(String field, Class<?> fieldClass, Set<String> filteringScopes, EntityGraph graph) Add entity-filtering scopes of a field to an entity-graph.protected final void
AbstractEntityProcessor.addGlobalScopes
(Set<String> filteringScopes, EntityGraph graph) Add entity-filtering scopes into given graph.protected EntityProcessor.Result
AbstractEntityProcessor.process
(String fieldName, Class<?> fieldClass, Annotation[] fieldAnnotations, Annotation[] annotations, EntityGraph graph) Method is called from the default implementation ofAbstractEntityProcessor.process(org.glassfish.jersey.message.filtering.spi.EntityProcessorContext)
and is supposed to be overridden by custom implementations of this class.