Uses of Interface
org.glassfish.jersey.message.filtering.spi.EntityGraph
-
Packages that use EntityGraph Package Description org.glassfish.jersey.message.filtering Support for Entity Data Filtering in Jersey.org.glassfish.jersey.message.filtering.spi 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 EntityGraph Modifier and Type Class Description (package private) class
EmptyEntityGraphImpl
EntityGraph
implementation that does not contain any fields/subgraphs.(package private) class
EntityGraphImpl
Default implementation ofEntityGraph
.Fields in org.glassfish.jersey.message.filtering declared as EntityGraph Modifier and Type Field Description private EntityGraph
EntityProcessorContextImpl. graph
private EntityGraph
ObjectGraphImpl. graph
Fields in org.glassfish.jersey.message.filtering with type parameters of type EntityGraph Modifier and Type Field Description private java.util.Map<java.lang.Class<?>,EntityGraph>
ObjectGraphImpl. classToGraph
private java.util.concurrent.ConcurrentMap<java.lang.Class<?>,EntityGraph>
EntityGraphProviderImpl. readerClassToGraph
private java.util.concurrent.ConcurrentMap<java.lang.Class<?>,EntityGraph>
EntityGraphProviderImpl. writerClassToGraph
Methods in org.glassfish.jersey.message.filtering that return EntityGraph Modifier and Type Method Description EntityGraph
EmptyEntityGraphImpl. addField(java.lang.String fieldName)
EntityGraph
EmptyEntityGraphImpl. addField(java.lang.String fieldName, java.lang.String... filteringScopes)
EntityGraph
EmptyEntityGraphImpl. addField(java.lang.String fieldName, java.util.Set<java.lang.String> filteringScopes)
EntityGraph
EmptyEntityGraphImpl. addFilteringScopes(java.util.Set<java.lang.String> filteringScopes)
EntityGraph
EmptyEntityGraphImpl. addSubgraph(java.lang.String fieldName, java.lang.Class<?> fieldClass)
EntityGraph
EmptyEntityGraphImpl. addSubgraph(java.lang.String fieldName, java.lang.Class<?> fieldClass, java.lang.String... filteringScopes)
EntityGraph
EmptyEntityGraphImpl. addSubgraph(java.lang.String fieldName, java.lang.Class<?> fieldClass, java.util.Set<java.lang.String> filteringScopes)
EntityGraph
EntityProcessorContextImpl. getEntityGraph()
EntityGraph
EntityGraphProviderImpl. getOrCreateEmptyEntityGraph(java.lang.Class<?> entityClass, boolean forWriter)
EntityGraph
EntityGraphProviderImpl. getOrCreateEntityGraph(java.lang.Class<?> entityClass, boolean forWriter)
EntityGraph
EmptyEntityGraphImpl. remove(java.lang.String name)
Methods in org.glassfish.jersey.message.filtering that return types with arguments of type EntityGraph Modifier and Type Method Description java.util.Map<java.lang.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 EntityGraph Modifier and Type Method Description private boolean
EntityInspectorImpl. inspectEntityClass(java.lang.Class<?> entityClass, EntityGraph graph, boolean forWriter)
Invoke availableEntityProcessor
s on given entity class.private java.util.Map<java.lang.String,java.lang.reflect.Method>
EntityInspectorImpl. inspectEntityProperties(java.lang.Class<?> entityClass, EntityGraph graph, java.util.Set<java.lang.Class<?>> inspect, boolean forWriter)
Invoke availableEntityProcessor
s on fields of given entity class.private void
EntityInspectorImpl. inspectStandaloneAccessors(java.util.Map<java.lang.String,java.lang.reflect.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, java.lang.String fieldName, java.lang.reflect.Type fieldType)
protected EntityProcessor.Result
EntityFilteringProcessor. process(java.lang.String field, java.lang.Class<?> fieldClass, java.lang.annotation.Annotation[] fieldAnnotations, java.lang.annotation.Annotation[] annotations, EntityGraph graph)
protected EntityProcessor.Result
SecurityEntityProcessor. process(java.lang.String fieldName, java.lang.Class<?> fieldClass, java.lang.annotation.Annotation[] fieldAnnotations, java.lang.annotation.Annotation[] annotations, EntityGraph graph)
protected EntityProcessor.Result
SelectableEntityProcessor. process(java.lang.String fieldName, java.lang.Class<?> fieldClass, java.lang.annotation.Annotation[] fieldAnnotations, java.lang.annotation.Annotation[] annotations, EntityGraph graph)
Constructors in org.glassfish.jersey.message.filtering with parameters of type EntityGraph Constructor Description EntityProcessorContextImpl(EntityProcessorContext.Type type, java.lang.Class<?> clazz, java.lang.reflect.Field field, java.lang.reflect.Method method, EntityGraph graph)
Create entity processor context for processing entity accessors.EntityProcessorContextImpl(EntityProcessorContext.Type type, java.lang.Class<?> clazz, EntityGraph graph)
Create entity processor context for processing entity classes.EntityProcessorContextImpl(EntityProcessorContext.Type type, java.lang.reflect.Field field, java.lang.reflect.Method method, EntityGraph graph)
Create entity processor context for processing entity properties.EntityProcessorContextImpl(EntityProcessorContext.Type type, java.lang.reflect.Method method, EntityGraph graph)
Create entity processor context for processing entity accessors.ObjectGraphImpl(java.util.Map<java.lang.Class<?>,EntityGraph> classToGraph, EntityGraph graph, java.util.Set<java.lang.String> filteringScopes)
Constructor parameters in org.glassfish.jersey.message.filtering with type arguments of type EntityGraph Constructor Description ObjectGraphImpl(java.util.Map<java.lang.Class<?>,EntityGraph> classToGraph, EntityGraph graph, java.util.Set<java.lang.String> filteringScopes)
-
Uses of EntityGraph in org.glassfish.jersey.message.filtering.spi
Methods in org.glassfish.jersey.message.filtering.spi that return EntityGraph Modifier and Type Method Description EntityGraph
EntityGraph. addField(java.lang.String fieldName)
Add a field into this graph for all existing entity-filtering scopes.EntityGraph
EntityGraph. addField(java.lang.String fieldName, java.lang.String... filteringScopes)
Add a field into this graph for given list of entity-filtering scopes.EntityGraph
EntityGraph. addField(java.lang.String fieldName, java.util.Set<java.lang.String> filteringScopes)
Add a field into this graph for given set of entity-filtering scopes.EntityGraph
EntityGraph. addFilteringScopes(java.util.Set<java.lang.String> filteringScopes)
Add a set of entity-filtering scopes to this graph.EntityGraph
EntityGraph. addSubgraph(java.lang.String fieldName, java.lang.Class<?> fieldClass)
Add a subgraph into this graph for all existing entity-filtering scopes.EntityGraph
EntityGraph. addSubgraph(java.lang.String fieldName, java.lang.Class<?> fieldClass, java.lang.String... filteringScopes)
Add a subgraph into this graph for given list of entity-filtering scopes.EntityGraph
EntityGraph. addSubgraph(java.lang.String fieldName, java.lang.Class<?> fieldClass, java.util.Set<java.lang.String> filteringScopes)
Add a subgraph into this graph for given set of entity-filtering scopes.EntityGraph
EntityProcessorContext. getEntityGraph()
Get entity graph to be modified by the processing.EntityGraph
EntityGraphProvider. getOrCreateEmptyEntityGraph(java.lang.Class<?> entityClass, boolean forWriter)
Get an empty entity graph for given class.EntityGraph
EntityGraphProvider. getOrCreateEntityGraph(java.lang.Class<?> entityClass, boolean forWriter)
Get an entity graph for given class.EntityGraph
EntityGraph. remove(java.lang.String name)
Remove a field/subgraph from the graph (all entity-filtering scopes).Methods in org.glassfish.jersey.message.filtering.spi with parameters of type EntityGraph Modifier and Type Method Description protected void
AbstractEntityProcessor. addFilteringScopes(java.lang.String field, java.lang.Class<?> fieldClass, java.util.Set<java.lang.String> filteringScopes, EntityGraph graph)
Add entity-filtering scopes of a field to an entity-graph.protected void
AbstractEntityProcessor. addGlobalScopes(java.util.Set<java.lang.String> filteringScopes, EntityGraph graph)
Add entity-filtering scopes into given graph.protected EntityProcessor.Result
AbstractEntityProcessor. process(java.lang.String fieldName, java.lang.Class<?> fieldClass, java.lang.annotation.Annotation[] fieldAnnotations, java.lang.annotation.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.
-