BeanProperty implementation used for passing annotations
from JAX-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 JAX-RS API
limitations, we are only given annotations associated, and that
has to do.Note
not yet used by JAX-RS provider, directly, as of Jackson 2.9
| Modifier and Type | Field and Description |
|---|---|
| public AnnotationMap | |
| protected transient Annotation[] | |
| public static final PropertyName | |
| private static final AnnotationMap | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| public | |
| protected |
| Modifier and Type | Method and Description |
|---|---|
| protected AnnotationMap | |
| public <A extends Annotation> A | getAnnotation(Class<A> acls)
Overrides com. Implements com. Method for finding annotation associated with this property; meaning annotation associated with one of entities used to access property. |
| public BeanProperty. |
| _annotations | back to summary |
|---|---|
| public AnnotationMap _annotations | |
| _rawAnnotations | back to summary |
|---|---|
| protected transient Annotation[] _rawAnnotations | |
| ENDPOINT_NAME | back to summary |
|---|---|
| public static final PropertyName ENDPOINT_NAME | |
| NO_ANNOTATIONS | back to summary |
|---|---|
| private static final AnnotationMap NO_ANNOTATIONS | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides com. | |
| EndpointAsBeanProperty | back to summary |
|---|---|
| public EndpointAsBeanProperty(PropertyName name, JavaType type, Annotation[] annotations) | |
| EndpointAsBeanProperty | back to summary |
|---|---|
| protected EndpointAsBeanProperty(EndpointAsBeanProperty base, JavaType newType) | |
| annotations | back to summary |
|---|---|
| protected AnnotationMap annotations() | |
| getAnnotation | back to summary |
|---|---|
| public <A extends Annotation> A getAnnotation(Class<A> acls) Overrides com. Implements com. Doc from com. Method 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
| |
| withType | back to summary |
|---|---|
| public BeanProperty. Overrides com.
| |