Marcel Witte created CDI-709:
--------------------------------
Summary: Should injecting the HttpServletRequest consider all used wrappers?
Key: CDI-709
URL:
https://issues.jboss.org/browse/CDI-709
Project: CDI Specification Issues
Issue Type: Clarification
Components: Java EE integration
Affects Versions: 2.0 .Final
Reporter: Marcel Witte
For example see this bug report of rewrite:
https://github.com/ocpsoft/rewrite/issues/235
If you inject the HttpServletRequest:
{code:java}
@Inject
private HttpServletRequest request
{code}
then you do not get the latest created HttpServletRequestWrapper.
If the wrapper is modifying the request (like adding parameters), these changes would not
be visible to the application code using this injected request.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)