@Singleton @Priority(value=2147481647) final class EntityFilteringProcessor extends AbstractEntityProcessor
EntityProcessor.Result
Constructor and Description |
---|
EntityFilteringProcessor() |
Modifier and Type | Method and Description |
---|---|
EntityProcessor.Result |
process(EntityProcessorContext context)
Process given (class/property/accessor)
context by modifying provided EntityGraph . |
protected EntityProcessor.Result |
process(java.lang.String field,
java.lang.Class<?> fieldClass,
java.lang.annotation.Annotation[] fieldAnnotations,
java.lang.annotation.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. |
addFilteringScopes, addGlobalScopes
public EntityProcessor.Result process(EntityProcessorContext context)
EntityProcessor
context
by modifying provided EntityGraph
.process
in interface EntityProcessor
process
in class AbstractEntityProcessor
context
- context to be processed.protected EntityProcessor.Result process(java.lang.String field, java.lang.Class<?> fieldClass, java.lang.annotation.Annotation[] fieldAnnotations, java.lang.annotation.Annotation[] annotations, EntityGraph graph)
AbstractEntityProcessor
AbstractEntityProcessor.process(org.glassfish.jersey.message.filtering.spi.EntityProcessorContext)
and is supposed to be overridden by
custom implementations of this class.process
in class AbstractEntityProcessor
field
- name of the field (can be null
).fieldClass
- class of the field (can be null
).fieldAnnotations
- annotations associated with the field (cannot be null
).annotations
- annotations associated with class/accessor (cannot be null
).graph
- entity graph to be processed.Result#SKIP
).