Joined October 2013
·
Posted to
Jersey 2 Custom Injection of Method Parameters
over 1 year
ago
Nope. Indeed this worked for Jersey 1, but is broken in Jersey 2.x.
It's a known bug however and will be fixed in a future version.
This is the bug-report: https://java.net/jira/browse/JERSEY-1960
Achievements
178 Karma
12,307 Total ProTip Views

Walrus
The walrus is no stranger to variety. Use at least 4 different languages throughout all your repos

Cub
Have at least one original jQuery or Prototype open source repo

Charity
Fork and commit to someone's open source project in need

Komodo Dragon
Have at least one original repo where Java is the dominant language
Jersey 2.4.1 is released where the @Context annotation to inject HttpServletRequest is fixed...