Class EndpointAsBeanProperty
java.lang.Object
com.fasterxml.jackson.databind.BeanProperty.Std
com.fasterxml.jackson.jakarta.rs.base.util.EndpointAsBeanProperty
- All Implemented Interfaces:
BeanProperty,Named,Serializable
BeanProperty implementation used for passing annotations
from Jakarta-RS endpoint into Jackson. This tries to imitate behavior
one would get if actual resource method was used as POJO property;
ideally this would be how implementation works but due Jakarta-RS API
limitations, we are only given annotations associated, and that
has to do.
NOTE: not yet used by Jakarta-RS provider, directly, as of Jackson 2.13
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.fasterxml.jackson.databind.BeanProperty
BeanProperty.Bogus, BeanProperty.Std -
Field Summary
FieldsFields inherited from class com.fasterxml.jackson.databind.BeanProperty.Std
_member, _metadata, _name, _type, _wrapperNameFields inherited from interface com.fasterxml.jackson.databind.BeanProperty
EMPTY_FORMAT, EMPTY_INCLUDE -
Constructor Summary
ConstructorsModifierConstructorDescriptionEndpointAsBeanProperty(PropertyName name, JavaType type, Annotation[] annotations) protectedEndpointAsBeanProperty(EndpointAsBeanProperty base, JavaType newType) -
Method Summary
Modifier and TypeMethodDescriptionprotected AnnotationMap<A extends Annotation>
AgetAnnotation(Class<A> acls) Method for finding annotation associated with this property; meaning annotation associated with one of entities used to access property.Methods inherited from class com.fasterxml.jackson.databind.BeanProperty.Std
depositSchemaProperty, findAliases, findFormatOverrides, findPropertyFormat, findPropertyInclusion, getContextAnnotation, getFullName, getMember, getMetadata, getName, getType, getWrapperName, isRequired, isVirtual
-
Field Details
-
ENDPOINT_NAME
-
_rawAnnotations
-
_annotations
-
-
Constructor Details
-
EndpointAsBeanProperty
-
EndpointAsBeanProperty
-
-
Method Details
-
withType
- Overrides:
withTypein classBeanProperty.Std
-
getAnnotation
Description copied from interface:BeanPropertyMethod for finding annotation associated with this property; meaning annotation associated with one of entities used to access property.Note that this method should only be called for custom annotations; access to standard Jackson annotations (or ones supported by alternate
AnnotationIntrospectors) should be accessed throughAnnotationIntrospector.- Specified by:
getAnnotationin interfaceBeanProperty- Overrides:
getAnnotationin classBeanProperty.Std
-
annotations
-