Package org.glassfish.jersey.message.filtering.spi
package org.glassfish.jersey.message.filtering.spi
SPI for Entity Data Filtering in Jersey.
To create a custom entity-filtering annotation with special handling (e.g. field aggregator annotation used to annotate
classes), refer to:
To support Entity Data Filtering in custom providers (e.g. message body workers), refer to:
- Since:
- 2.3
-
ClassDescriptionCommon
entity processor
supposed to be used as a base class for custom implementations.Common implementation ofobject provider
andobject graph transformer
.Class to be used as a key in cache (EntityContext
-> filtering object) when processing similar requests.Class available toentity-filtering processors
providing means to add/remove entity-filtering scopes (e.g.Providesentity graph
andobject graph
instances.Responsible for inspecting entity classes.Contract supposed to process entity classes for Entity Data Filtering.Result type of processing an context.Entity processor
context providing details about entity processing.The type of the context which describes in which entity processing phase theEntityProcessor.process(EntityProcessorContext)
is triggered.SPI utility methods for entity filtering.Read-only graph containing representations of an entity class that should be processed in entity-filtering.This contract brings support for transforming an internal representation of entity data filtering feature into an object familiar to underlying provider (e.g.Entry point of Entity Data Filtering feature for providers working with custom entities and media types (reading/writing).Entry point for obtaining entity-filtering scopes used to process a request/response entity.Class used to resolve entity-filtering scopes from annotations.