eclipse-ee4j / eclipse-ee4j/jersey

Request body injected in bean annotated with @BeanParam

Open
#3,678 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
730
Forks
382
PR merge metrics
No merged PRs in 30d

Description

I want to inject the request body into a bean that is used as a BeanParam in a rest service.

This would be possible, according to https://stackoverflow.com/questions/33373668/inject-securitycontext-info-and-request-body-into-beanparam.

Unfortunately this doesn't work (tested with versions 2.25.1, 2.26).

See this gist https://gist.github.com/pa314159/82c3202d4f27692045a44286d721ec94

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.