![](https://img-blog.csdnimg.cn/20201014180756918.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
spring
文章平均质量分 54
g3230863
这个作者很懒,什么都没留下…
展开
-
springcloudgateway post获取值
import lombok.extern.slf4j.Slf4j;import org.springframework.cloud.gateway.filter.GatewayFilterChain;import org.springframework.cloud.gateway.filter.GlobalFilter;import org.springframework.core.Ordered;import org.springframework.core.io.buffer.DataBuffe原创 2021-07-29 19:34:18 · 432 阅读 · 0 评论 -
Spring Cloud Gateway网关拦截器
https://www.cnblogs.com/fdzang/p/11812348.html1.Gateway的拦截器我们要在项目中实现一个拦截器,需要继承两个类:GlobalFilter, OrderedGlobalFilter:全局过滤拦截器,在gateway中已经有部分实现,具体参照:https://www.cnblogs.com/liukaifeng/p/10055862.htmlOrdered:拦截器的顺序,不多说于是一个简单的拦截器就有了复制代码@Slf4j@Component原创 2021-07-27 19:29:02 · 10807 阅读 · 0 评论