Class EntityFilteringProcessor
java.lang.Object
org.glassfish.jersey.message.filtering.spi.AbstractEntityProcessor
org.glassfish.jersey.message.filtering.EntityFilteringProcessor
- All Implemented Interfaces:
EntityProcessor
@Singleton
@Priority(2147481647)
final class EntityFilteringProcessor
extends AbstractEntityProcessor
Entity processor handling entity-filtering annotations.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.glassfish.jersey.message.filtering.spi.EntityProcessor
EntityProcessor.Result -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected EntityProcessor.Resultprocess(String field, 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.process(EntityProcessorContext context) Process given (class/property/accessor)contextby modifying providedEntityGraph.Methods inherited from class org.glassfish.jersey.message.filtering.spi.AbstractEntityProcessor
addFilteringScopes, addGlobalScopes
-
Constructor Details
-
EntityFilteringProcessor
EntityFilteringProcessor()
-
-
Method Details
-
process
Description copied from interface:EntityProcessorProcess given (class/property/accessor)contextby modifying providedEntityGraph.- Specified by:
processin interfaceEntityProcessor- Overrides:
processin classAbstractEntityProcessor- Parameters:
context- context to be processed.- Returns:
- result of processing a context.
-
process
protected EntityProcessor.Result process(String field, Class<?> fieldClass, Annotation[] fieldAnnotations, Annotation[] annotations, EntityGraph graph) Description copied from class:AbstractEntityProcessorMethod 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.- Overrides:
processin classAbstractEntityProcessor- Parameters:
field- name of the field (can benull).fieldClass- class of the field (can benull).fieldAnnotations- annotations associated with the field (cannot benull).annotations- annotations associated with class/accessor (cannot benull).graph- entity graph to be processed.- Returns:
- result of the processing (default is
EntityProcessor.Result.SKIP).
-