Subclasses of RequestDispatcherProvider cannot add request parameters because
RequestDispatcherProvider.HttpServletRequestFilter has private access
---------------------------------------------------------------------------------------------------------------------------------------------------
Key: CXF-3108
URL: https://issues.apache.org/jira/browse/CXF-3108
Project: CXF
Issue Type: Improvement
Components: JAX-RS
Affects Versions: 2.2.11, 2.3.0
Reporter: Martin Hvizdos
After processing a JAXRS call I need to redirect the user to a page + I also
need *to add a request parameter*.
I wanted to subclass {{RequestDispatcherProvider}} and override either
{{RequestDispatcherProvider#doSetRequestParameters}} or
{{RequestDispatcherProvider#setRequestParameters}} which have protected access
to achieve this. Is this correct or should I use some other method?
But this is not possieble because both methods require parameters of type
{{RequestDispatcherProvider.HttpServletRequestFilter}} which has private access
in {{RequestDispatcherProvider}}.
Is there any reason for {{RequestDispatcherProvider.HttpServletRequestFilter}}
being private?
Can you change the access modifier of
{{RequestDispatcherProvider.HttpServletRequestFilter}} please? Or should I use
some other method to add a request parameter?
Thank you.
/Martin
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.