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 classEntityGraphimplementation that does not contain any fields/subgraphs.(package private) final classDefault implementation ofEntityGraph.Fields in org.glassfish.jersey.message.filtering declared as EntityGraphModifier and TypeFieldDescriptionprivate final EntityGraphEntityProcessorContextImpl.graphprivate final EntityGraphObjectGraphImpl.graphFields in org.glassfish.jersey.message.filtering with type parameters of type EntityGraphModifier and TypeFieldDescriptionprivate final Map<Class<?>, EntityGraph> ObjectGraphImpl.classToGraphprivate final ConcurrentMap<Class<?>, EntityGraph> EntityGraphProviderImpl.readerClassToGraphprivate final ConcurrentMap<Class<?>, EntityGraph> EntityGraphProviderImpl.writerClassToGraphMethods 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 booleanEntityInspectorImpl.inspectEntityClass(Class<?> entityClass, EntityGraph graph, boolean forWriter) Invoke availableEntityProcessors on given entity class.EntityInspectorImpl.inspectEntityProperties(Class<?> entityClass, EntityGraph graph, Set<Class<?>> inspect, boolean forWriter) Invoke availableEntityProcessors on fields of given entity class.private voidEntityInspectorImpl.inspectStandaloneAccessors(Map<String, Method> unprocessedAccessors, EntityGraph graph, boolean forWriter) Invoke availableEntityProcessors on accessors (getter/setter) that has no match in classes' fields.private voidDefaultEntityProcessor.process(EntityGraph graph, String fieldName, Type fieldType) protected EntityProcessor.ResultEntityFilteringProcessor.process(String field, Class<?> fieldClass, Annotation[] fieldAnnotations, Annotation[] annotations, EntityGraph graph) protected EntityProcessor.ResultSecurityEntityProcessor.process(String fieldName, Class<?> fieldClass, Annotation[] fieldAnnotations, Annotation[] annotations, EntityGraph graph) protected EntityProcessor.ResultSelectableEntityProcessor.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 voidAbstractEntityProcessor.addFilteringScopes(String field, Class<?> fieldClass, Set<String> filteringScopes, EntityGraph graph) Add entity-filtering scopes of a field to an entity-graph.protected final voidAbstractEntityProcessor.addGlobalScopes(Set<String> filteringScopes, EntityGraph graph) Add entity-filtering scopes into given graph.protected EntityProcessor.ResultAbstractEntityProcessor.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.