I am getting an encrypted String as Query parameter to a Spring rest controller method.
I wanted to decrypt the string before it reaches the method based on some annotat
You can try by adding a CharacterEncodingFilter with init-param encoding UTF-8 in web.xml file. Check out this example.
CharacterEncodingFilter
init-param
encoding
UTF-8
web.xml
However If it still doesn't work, you can force encoding by adding the below param along with above init-param.
forceEncoding true
Let me know If It works for you.