Enum EntityProcessorContext.Type
java.lang.Object
java.lang.Enum<EntityProcessorContext.Type>
org.glassfish.jersey.message.filtering.spi.EntityProcessorContext.Type
- All Implemented Interfaces:
Serializable
,Comparable<EntityProcessorContext.Type>
,java.lang.constant.Constable
- Enclosing interface:
EntityProcessorContext
The type of the context which describes in which entity processing phase the
EntityProcessor.process(EntityProcessorContext)
is triggered.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionContext created to process entity class when reading entity from an input stream into an Java object.Context created to process entity class when writing entity to an output stream from an Java object.Context created to process property accessors when reading entity from an input stream into an Java object.Context created to process property accessors when writing entity to an output stream from an Java object.Context created to process entity properties when reading entity from an input stream into an Java object.Context created to process entity properties when writing entity to an output stream from an Java object. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic EntityProcessorContext.Type
Returns the enum constant of this type with the specified name.static EntityProcessorContext.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
CLASS_READER
Context created to process entity class when reading entity from an input stream into an Java object. Properties available for this type are:EntityProcessorContext.getEntityClass()
,EntityProcessorContext.getEntityGraph()
. -
CLASS_WRITER
Context created to process entity class when writing entity to an output stream from an Java object. Properties available for this type are:EntityProcessorContext.getEntityClass()
,EntityProcessorContext.getEntityGraph()
. -
PROPERTY_READER
Context created to process entity properties when reading entity from an input stream into an Java object. Properties available for this type are:EntityProcessorContext.getField()
,EntityProcessorContext.getMethod()
,EntityProcessorContext.getEntityGraph()
. -
PROPERTY_WRITER
Context created to process entity properties when writing entity to an output stream from an Java object. Properties available for this type are:EntityProcessorContext.getField()
,EntityProcessorContext.getMethod()
,EntityProcessorContext.getEntityGraph()
. -
METHOD_READER
Context created to process property accessors when reading entity from an input stream into an Java object. Properties available for this type are:EntityProcessorContext.getMethod()
,EntityProcessorContext.getEntityGraph()
. -
METHOD_WRITER
Context created to process property accessors when writing entity to an output stream from an Java object. Properties available for this type are:EntityProcessorContext.getMethod()
,EntityProcessorContext.getEntityGraph()
.
-
-
Constructor Details
-
Type
private Type()
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-