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 Constructor Description EntityFilteringProcessor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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 ofAbstractEntityProcessor.process(org.glassfish.jersey.message.filtering.spi.EntityProcessorContext)
and is supposed to be overridden by custom implementations of this class.EntityProcessor.Result
process(EntityProcessorContext context)
Process given (class/property/accessor)context
by modifying providedEntityGraph
.-
Methods inherited from class org.glassfish.jersey.message.filtering.spi.AbstractEntityProcessor
addFilteringScopes, addGlobalScopes
-
-
-
-
Method Detail
-
process
public EntityProcessor.Result process(EntityProcessorContext context)
Description copied from interface:EntityProcessor
Process given (class/property/accessor)context
by modifying providedEntityGraph
.- Specified by:
process
in interfaceEntityProcessor
- Overrides:
process
in classAbstractEntityProcessor
- Parameters:
context
- context to be processed.- Returns:
- result of processing a context.
-
process
protected EntityProcessor.Result process(java.lang.String field, java.lang.Class<?> fieldClass, java.lang.annotation.Annotation[] fieldAnnotations, java.lang.annotation.Annotation[] annotations, EntityGraph graph)
Description copied from class:AbstractEntityProcessor
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.- Overrides:
process
in 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
).
-
-