java - Spring Cloud Feign Interceptor -
i have created clienthttprequestinterceptor use intercept outgoing resttemplate requests , responses. add interceptor outgoing feign requests/responses. there way this?
i know there feign.requestinterceptor can intercept request , not response.
there class feignconfiguration found in github has ability add interceptors don't know in maven dependency version is.
if want use feign spring cloud, use org.springframework.cloud:spring-cloud-starter-feign
dependency coordinates. way modify response implement own feign.client
.
Comments
Post a Comment