eclipse-ee4j / eclipse-ee4j/jersey
proxy-client not jax-rs spec. compliant in how it determines entity parameter when @Context parameter is present
Open
Module: Proxy-Client
- Dominant language
- Java
- Stars
- 730
- Forks
- 382
- PR merge metrics
- No merged PRs in 30d
Description
When @Context annotated parameter follows the entity parameter, proxy client fails to identify it as not-entity and replaces the actual intended entity with its contents. Jax-rs spec section 3.3.2.1 says any parameter not annotated with annos in 3.2 is the entity. 3.2 includes @Context. WebResourceFactory.PARAM_ANNOTATION_CLASSES does not include @Context, which causes WebResourceFactory#hasAnyParamAnnotation to function improperly.
Contributor guide
Assessment
This issue has not been assessed yet.