You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Sergey Beryozkin (JIRA)" <ji...@apache.org> on 2015/06/11 13:09:00 UTC

[jira] [Commented] (CXF-6452) Spring Autowired annotataion on HttpServletRequest can not get latest request

    [ https://issues.apache.org/jira/browse/CXF-6452?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14581825#comment-14581825 ] 

Sergey Beryozkin commented on CXF-6452:
---------------------------------------

I think this issue is invalid, I'm not sure if it is JAX-RS or JAX-WS but if it is JAX-RS then only @Context annotated HttpServletRequest context is supported, can you provide more info ?

> Spring Autowired annotataion on HttpServletRequest can not get latest request
> -----------------------------------------------------------------------------
>
>                 Key: CXF-6452
>                 URL: https://issues.apache.org/jira/browse/CXF-6452
>             Project: CXF
>          Issue Type: Bug
>    Affects Versions: 3.1.0
>         Environment: Windows, Java HotSpot(TM) 64-Bit Server VM (build 24.60-b09, mixed mode)
>            Reporter: xfcjscn
>              Labels: autowired, request, spring
>
> Autowired HttpServletRequest updated to wrapped version in FrameworkServlet.processRequest() via RequestContextHolder.setRequestAttributes(), so that further processes which rely on Autowired HttpServletRequest can get wrapped version not original version. 
> While CXF spring integration don't update it, and it will get original request not wrapped version.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)