Adds spring_cloud_gateway_mvc_diagram.png to how-it-works.adoc
Fixes gh-3173
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 29 KiB |
@@ -4,8 +4,7 @@
|
||||
|
||||
The following diagram provides a high-level overview of how Spring Cloud Gateway works:
|
||||
|
||||
// TODO: gateway mvc diagram
|
||||
//image::spring_cloud_gateway_diagram.png[Spring Cloud Gateway Diagram]
|
||||
image::spring_cloud_gateway_mvc_diagram.png[Spring Cloud Gateway Server MVC Diagram]
|
||||
|
||||
In Spring Cloud Gateway Server MVC routes are normal WebMvc.fn `RouterFunction` instances with a special https://docs.spring.io/spring-framework/docs/current/javadoc-api/org/springframework/web/servlet/function/HandlerFunction.html[HandlerFunction] to forward the requests over HTTP defined in https://github.com/spring-cloud/spring-cloud-gateway/blob/main/spring-cloud-gateway-server-mvc/src/main/java/org/springframework/cloud/gateway/server/mvc/handler/HandlerFunctions.java[org.springframework.cloud.gateway.server.mvc.handler.HandlerFunctions]. Please see the https://docs.spring.io/spring-framework/reference/web/webmvc-functional.html[WebMvc.fn] documentation for regular use of the functional API.
|
||||
|
||||
|
||||
@@ -123,6 +123,7 @@
|
||||
|spring.cloud.gateway.predicate.cookie.enabled | `+++true+++` | Enables the cookie predicate.
|
||||
|spring.cloud.gateway.predicate.header.enabled | `+++true+++` | Enables the header predicate.
|
||||
|spring.cloud.gateway.predicate.host.enabled | `+++true+++` | Enables the host predicate.
|
||||
|spring.cloud.gateway.predicate.host.include-port | `+++true+++` | Include the port in matching the host name.
|
||||
|spring.cloud.gateway.predicate.method.enabled | `+++true+++` | Enables the method predicate.
|
||||
|spring.cloud.gateway.predicate.path.enabled | `+++true+++` | Enables the path predicate.
|
||||
|spring.cloud.gateway.predicate.query.enabled | `+++true+++` | Enables the query predicate.
|
||||
|
||||
Reference in New Issue
Block a user