Class SecurityEntityProcessor
java.lang.Object
org.glassfish.jersey.message.filtering.spi.AbstractEntityProcessor
org.glassfish.jersey.message.filtering.SecurityEntityProcessor
- All Implemented Interfaces:
EntityProcessor
@Singleton
@Priority(2147480647)
final class SecurityEntityProcessor
extends AbstractEntityProcessor
Entity processor handling security annotations on model entity classes.-
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 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.Methods inherited from class org.glassfish.jersey.message.filtering.spi.AbstractEntityProcessor
addFilteringScopes, addGlobalScopes, process
-
Constructor Details
-
SecurityEntityProcessor
SecurityEntityProcessor()
-
-
Method Details
-
process
protected EntityProcessor.Result process(String fieldName, 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:
fieldName- 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).
-