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
Methods in org.glassfish.jersey.message.filtering with parameters of type EntityGraphModifier and TypeMethodDescriptionprotected EntityProcessor.ResultSelectableEntityProcessor.process(String fieldName, Class<?> fieldClass, Annotation[] fieldAnnotations, Annotation[] annotations, EntityGraph graph) -
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.