eclipse-ee4j / eclipse-ee4j/jersey
Pass Annotations on AsyncResponse to Resume Method
- Dominant language
- Java
- Stars
- 730
- Forks
- 382
- PR merge metrics
- No merged PRs in 30d
Description
I am requesting a modification to the org.glassfish.jersey.server.ServerRuntime.AsyncResponder class to pass the annotations on the AsyncResponse parameter when the response is constructed. This would put it inline with how the response is constructed with a synchronous response, using the annotations on the method. Please let me know what you think.
I see three classes that need modifying:
- org.glassfish.jersey.server.AsyncContext to allow annotations to be set.
- The aforementioned org.glassfish.jersey.server.ServerRuntime.AsyncResponder which will implement the method in AsyncContext and use the annotations for response processing.
- org.glassfish.jersey.server.internal.inject.AsyncResponseValueParamProvider to set the annotations on the AsyncContext
Contributor guide
Assessment
This issue has not been assessed yet.