Skip to content

Commit

Permalink
Adds spring_cloud_gateway_mvc_diagram.png to how-it-works.adoc
Browse files Browse the repository at this point in the history
Fixes gh-3173
  • Loading branch information
spencergibb committed Dec 21, 2023
1 parent 09ecf0a commit 7e0bbfe
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
1 change: 1 addition & 0 deletions docs/modules/ROOT/partials/_configprops.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 7e0bbfe

Please sign in to comment.