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) classEmptyEntityGraphImplEntityGraphimplementation that does not contain any fields/subgraphs.(package private) classEntityGraphImplDefault implementation ofEntityGraph.Fields in org.glassfish.jersey.message.filtering declared as EntityGraph Modifier and Type Field Description private EntityGraphEntityProcessorContextImpl. graphprivate EntityGraphObjectGraphImpl. graphFields 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. classToGraphprivate java.util.concurrent.ConcurrentMap<java.lang.Class<?>,EntityGraph>EntityGraphProviderImpl. readerClassToGraphprivate java.util.concurrent.ConcurrentMap<java.lang.Class<?>,EntityGraph>EntityGraphProviderImpl. writerClassToGraphMethods in org.glassfish.jersey.message.filtering that return EntityGraph Modifier and Type Method Description EntityGraphEmptyEntityGraphImpl. addField(java.lang.String fieldName)EntityGraphEmptyEntityGraphImpl. addField(java.lang.String fieldName, java.lang.String... filteringScopes)EntityGraphEmptyEntityGraphImpl. addField(java.lang.String fieldName, java.util.Set<java.lang.String> filteringScopes)EntityGraphEmptyEntityGraphImpl. addFilteringScopes(java.util.Set<java.lang.String> filteringScopes)EntityGraphEmptyEntityGraphImpl. addSubgraph(java.lang.String fieldName, java.lang.Class<?> fieldClass)EntityGraphEmptyEntityGraphImpl. addSubgraph(java.lang.String fieldName, java.lang.Class<?> fieldClass, java.lang.String... filteringScopes)EntityGraphEmptyEntityGraphImpl. addSubgraph(java.lang.String fieldName, java.lang.Class<?> fieldClass, java.util.Set<java.lang.String> filteringScopes)EntityGraphEntityProcessorContextImpl. getEntityGraph()EntityGraphEntityGraphProviderImpl. getOrCreateEmptyEntityGraph(java.lang.Class<?> entityClass, boolean forWriter)EntityGraphEntityGraphProviderImpl. getOrCreateEntityGraph(java.lang.Class<?> entityClass, boolean forWriter)EntityGraphEmptyEntityGraphImpl. 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 booleanEntityInspectorImpl. inspectEntityClass(java.lang.Class<?> entityClass, EntityGraph graph, boolean forWriter)Invoke availableEntityProcessors 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 availableEntityProcessors on fields of given entity class.private voidEntityInspectorImpl. inspectStandaloneAccessors(java.util.Map<java.lang.String,java.lang.reflect.Method> unprocessedAccessors, EntityGraph graph, boolean forWriter)Invoke availableEntityProcessors on accessors (getter/setter) that has no match in classes' fields.private voidDefaultEntityProcessor. process(EntityGraph graph, java.lang.String fieldName, java.lang.reflect.Type fieldType)protected EntityProcessor.ResultEntityFilteringProcessor. process(java.lang.String field, java.lang.Class<?> fieldClass, java.lang.annotation.Annotation[] fieldAnnotations, java.lang.annotation.Annotation[] annotations, EntityGraph graph)protected EntityProcessor.ResultSecurityEntityProcessor. process(java.lang.String fieldName, java.lang.Class<?> fieldClass, java.lang.annotation.Annotation[] fieldAnnotations, java.lang.annotation.Annotation[] annotations, EntityGraph graph)protected EntityProcessor.ResultSelectableEntityProcessor. 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 EntityGraphEntityGraph. addField(java.lang.String fieldName)Add a field into this graph for all existing entity-filtering scopes.EntityGraphEntityGraph. addField(java.lang.String fieldName, java.lang.String... filteringScopes)Add a field into this graph for given list of entity-filtering scopes.EntityGraphEntityGraph. 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.EntityGraphEntityGraph. addFilteringScopes(java.util.Set<java.lang.String> filteringScopes)Add a set of entity-filtering scopes to this graph.EntityGraphEntityGraph. addSubgraph(java.lang.String fieldName, java.lang.Class<?> fieldClass)Add a subgraph into this graph for all existing entity-filtering scopes.EntityGraphEntityGraph. 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.EntityGraphEntityGraph. 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.EntityGraphEntityProcessorContext. getEntityGraph()Get entity graph to be modified by the processing.EntityGraphEntityGraphProvider. getOrCreateEmptyEntityGraph(java.lang.Class<?> entityClass, boolean forWriter)Get an empty entity graph for given class.EntityGraphEntityGraphProvider. getOrCreateEntityGraph(java.lang.Class<?> entityClass, boolean forWriter)Get an entity graph for given class.EntityGraphEntityGraph. 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 voidAbstractEntityProcessor. 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 voidAbstractEntityProcessor. addGlobalScopes(java.util.Set<java.lang.String> filteringScopes, EntityGraph graph)Add entity-filtering scopes into given graph.protected EntityProcessor.ResultAbstractEntityProcessor. 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.
-