I'm working on a project which I need to perform a function StringEscapeUtils.unescapeHtml4(String htmlString)
on both all request and response parameters.
For changing request parameters I've used HttpServletRequestWrapper
, but for changing response values, I could n't find any clue.
Asked
Active
Viewed 255 times
0

geradism
- 97
- 2
- 14
-
Use a `HttpServletResponseWrapper`? – Serge Ballesta Aug 17 '17 at 11:33
-
It have to do the same thing, but it has not any parameter related function inside. If there is any, let me know. – geradism Aug 17 '17 at 11:36
-
You should find an example of implementation in [this other SO post](https://stackoverflow.com/a/1157590/3545273) – Serge Ballesta Aug 17 '17 at 11:41