lapo-luchini commented on PR #692: URL: https://github.com/apache/cxf/pull/692#issuecomment-1997961675
This has fixed setting the attribute in `ContainerRequestFilter.filter` and reading it from `WriterInterceptor.aroundWriteTo` but still seems to lack attributes defined in a `HttpServletRequest`. The work-around seems to be to inject the servlet request itself and reading from there directly: ```java @Context private HttpServletRequest servletRequest; ``` … but since the servlet request exists (after all, it was injected correctly) I think also `WriterInterceptorContext.getParameter` should access to it as stated in the JavaDoc: _In a Servlet container, on the server side, the properties are backed by the ServletRequest and contain all the attributes available in the ServletRequest._. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
