Hi all,
I use REST service along with spring framework.
- I need to pass some info (say a string like username) as header to next class instead of putting the username in url like this :
order/module/{userName}
- The username cannot be in URL due to security issue.
- I tried using HttpServletRequest . But it has only getHeader() and no setHeader().
Can anyone help?
Thanks
I use REST service along with spring framework.
- I need to pass some info (say a string like username) as header to next class instead of putting the username in url like this :
order/module/{userName}
- The username cannot be in URL due to security issue.
- I tried using HttpServletRequest . But it has only getHeader() and no setHeader().
Can anyone help?
Thanks