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 Constructor Description SelectableEntityProcessor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected EntityProcessor.Result
process(java.lang.String fieldName, 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.-
Methods inherited from class org.glassfish.jersey.message.filtering.spi.AbstractEntityProcessor
addFilteringScopes, addGlobalScopes, process
-
-
-
-
Method Detail
-
process
protected EntityProcessor.Result process(java.lang.String fieldName, 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:
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
).
-
-