public interface RequestInterceptor { void apply(RequestTemplate template); } Use code with caution.
The RequestTemplate object provides access to the request's headers, query parameters, body, and URL, which you can then mutate. Common Use Cases feign-requestinterceptor
Every interceptor must implement the RequestInterceptor interface and its single apply method: feign-requestinterceptor