How to handle Plus (+) Sign in HandlerInterceptorAdapter Similar to ClientHttpRequestInterceptor for Every Request

Viewed 16

The plus + is taken care as %2B in (ClientHttpRequestInterceptor) '+' (plus sign) not encoded with RestTemplate using String url, but interpreted as ' ' (space)

However i have interceptors which extends HandlerInterceptorAdapter instead of implements ClientHttpRequestInterceptor to handle every request which passes through. Any setter methods to change the URL before it hits the controller.

How to change the value of the URL or do the similar changes via HandlerInterceptorAdapter ?

Thanks

0 Answers
Related