Spring Cloud Feign带有缓存/ eTag支持

时间:2015-07-01 16:19:34

标签: apache-httpclient-4.x etag spring-cloud http-etag netflix-feign

我一直在使用Spring Cloud Feign,它很棒。但我注意到开箱即用的行为似乎并没有采用客户端缓存 - 例如eTags。

有没有办法将此行为插入Feign,以便它与您的花园种类浏览器具有相同的HTTP缓存标头基本支持?

1 个答案:

答案 0 :(得分:0)

您可以使用Feign RequestInterceptors以他们想要的任何方式修改他们。

相关问题