gateway
周星猩
未知
展开
-
SpringGateway学习
认识GatewayFilter、GatewayFilterChain 在SpringGateway中GatewayFilter、GatewayFilterChain这两个类,这很容易让我们想起ServletApi中的Filter、FilterChain。 他们有什么关系呢? ServletApi: public interface Filter { public void doFilter(ServletRequest request, ServletResponse response, .原创 2020-09-12 14:18:11 · 992 阅读 · 0 评论 -
spring cloud gateway的POST请求问题解决:Only one connection receive subscriber allowedspring cloud gateway的P
笔者使用spring cloud gateway时踩了个很多人都遇到的坑,这个也是spring boot和spring cloud gateway的开发者们没有协商好导致的问题(后面会说)。 环境 JDK1.8 spring boot 2.0.6.RELEASE 问题表现 使用POST请求gateway时,后端微服务拿不到body信息,仿佛就是gateway吞掉了body(其实就是); ...转载 2019-06-16 14:41:43 · 4293 阅读 · 1 评论