Class SelectableEntityProcessor
java.lang.Object
org.glassfish.jersey.message.filtering.spi.AbstractEntityProcessor
org.glassfish.jersey.message.filtering.SelectableEntityProcessor
- All Implemented Interfaces:
EntityProcessor
@Singleton
@Priority(2147478647)
public class SelectableEntityProcessor
extends AbstractEntityProcessor
-
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.Result
process
(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
-
SelectableEntityProcessor
public SelectableEntityProcessor()
-
-
Method Details
-
process
protected EntityProcessor.Result process(String fieldName, Class<?> fieldClass, Annotation[] fieldAnnotations, 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:
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
).
-