You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Martin Hvizdos (JIRA)" <ji...@apache.org> on 2010/11/02 14:14:27 UTC
[jira] Created: (CXF-3108) Subclasses of RequestDispatcherProvider
cannot add request parameters because
RequestDispatcherProvider.HttpServletRequestFilter has private access
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.
[jira] Resolved: (CXF-3108) Subclasses of RequestDispatcherProvider
cannot add request parameters because
RequestDispatcherProvider.HttpServletRequestFilter has private access
Posted by "Sergey Beryozkin (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CXF-3108?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sergey Beryozkin resolved CXF-3108.
-----------------------------------
Resolution: Fixed
Fix Version/s: 2.4
2.3.1
2.2.12
Assignee: Sergey Beryozkin
> 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.3.0, 2.2.11
> Reporter: Martin Hvizdos
> Assignee: Sergey Beryozkin
> Fix For: 2.2.12, 2.3.1, 2.4
>
>
> 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.