Gateway中Forward配置+源码观赏
系列文章目录
文章目录
- 系列文章目录
- 一、ForwardPathFilter
- 二、RouteToRequestUrlFilter
- 三、ForwardRoutingFilter
yaml forward配置gateway:routes:- id: user-route
# uri: lb://useruri: forward:///user/indexpredicates:- Path=/user/**- Yo=GET
# filters:
# - StripPrefix=1default-filters:- StripPrefix=1