Spring Config Server - customize http client

135 Views Asked by At

I using Spring Config Server with git repo. I want add interceptor to standart http client, which connect to git. How can I do it?

1

There are 1 best solutions below

0
On

What spring config server is doing is normal request/response cycle. using internal endpoints.

so normal Spring MVC HandlerInterceptor could do the job for you. detailed walk-through can be found here: HandlerInterceptor