spring cloud gateway 2.0

spring cloud gateway 2 深入了解 - 综述

2018-07-12  本文已影响0人  wine_5664

简介

概念

route(路由)

Predicate(谓词)

Filter(过滤器)

原理图

image.png

Clients make requests to Spring Cloud Gateway. If the Gateway Handler Mapping determines that a request matches a Route, it is sent to the Gateway Web Handler. This handler runs sends the request through a filter chain that is specific to the request. The reason the filters are divided by the dotted line, is that filters may execute logic before the proxy request is sent or after. All "pre" filter logic is executed, then the proxy request is made. After the proxy request is made, the "post" filter logic is executed.

上一篇 下一篇

猜你喜欢

热点阅读