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.
|
Modifier and Type | Method and Description |
---|---|
protected EntityProcessor.Result |
SelectableEntityProcessor.process(String fieldName,
Class<?> fieldClass,
Annotation[] fieldAnnotations,
Annotation[] annotations,
EntityGraph graph) |
Modifier and Type | Method and Description |
---|---|
EntityGraph |
EntityGraph.addField(String fieldName)
Add a field into this graph for all existing entity-filtering scopes.
|
EntityGraph |
EntityGraph.addField(String fieldName,
Set<String> filteringScopes)
Add a field into this graph for given set of entity-filtering scopes.
|
EntityGraph |
EntityGraph.addField(String fieldName,
String... filteringScopes)
Add a field into this graph for given list of entity-filtering scopes.
|
EntityGraph |
EntityGraph.addFilteringScopes(Set<String> filteringScopes)
Add a set of entity-filtering scopes to this graph.
|
EntityGraph |
EntityGraph.addSubgraph(String fieldName,
Class<?> fieldClass)
Add a subgraph into this graph for all existing entity-filtering scopes.
|
EntityGraph |
EntityGraph.addSubgraph(String fieldName,
Class<?> fieldClass,
Set<String> filteringScopes)
Add a subgraph into this graph for given set of entity-filtering scopes.
|
EntityGraph |
EntityGraph.addSubgraph(String fieldName,
Class<?> fieldClass,
String... filteringScopes)
Add a subgraph into this graph for given list of entity-filtering scopes.
|
EntityGraph |
EntityProcessorContext.getEntityGraph()
Get entity graph to be modified by the processing.
|
EntityGraph |
EntityGraphProvider.getOrCreateEmptyEntityGraph(Class<?> entityClass,
boolean forWriter)
Get an empty entity graph for given class.
|
EntityGraph |
EntityGraphProvider.getOrCreateEntityGraph(Class<?> entityClass,
boolean forWriter)
Get an entity graph for given class.
|
EntityGraph |
EntityGraph.remove(String name)
Remove a field/subgraph from the graph (all entity-filtering scopes).
|
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractEntityProcessor.addFilteringScopes(String field,
Class<?> fieldClass,
Set<String> filteringScopes,
EntityGraph graph)
Add entity-filtering scopes of a field to an entity-graph.
|
protected 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 of
AbstractEntityProcessor.process(org.glassfish.jersey.message.filtering.spi.EntityProcessorContext) and is supposed to be overridden by
custom implementations of this class. |
Copyright © 2007-2015, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.