From 6b15aac5b4a0006579c552db8321de7442ba88c8 Mon Sep 17 00:00:00 2001 From: Harpal Date: Wed, 15 Dec 2021 16:44:12 +0100 Subject: [PATCH] Documentation improvement Fixes gh-2463 --- .../main/asciidoc/spring-cloud-gateway.adoc | 28 +++++++++---------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/docs/src/main/asciidoc/spring-cloud-gateway.adoc b/docs/src/main/asciidoc/spring-cloud-gateway.adoc index eee1fd10..4cc84917 100644 --- a/docs/src/main/asciidoc/spring-cloud-gateway.adoc +++ b/docs/src/main/asciidoc/spring-cloud-gateway.adoc @@ -15,7 +15,7 @@ If you include the starter, but you do not want the gateway to be enabled, set ` IMPORTANT: Spring Cloud Gateway is built on https://spring.io/projects/spring-boot#learn[Spring Boot 2.x], https://docs.spring.io/spring/docs/current/spring-framework-reference/web-reactive.html[Spring WebFlux], and https://projectreactor.io/docs[Project Reactor]. As a consequence, many of the familiar synchronous libraries (Spring Data and Spring Security, for example) and patterns you know may not apply when you use Spring Cloud Gateway. -If you are unfamiliar with these projects, we suggest you begin by reading their documentation to familiarize yourself with some of the new concepts before working with Spring Cloud Gateway. +If you are unfamiliar with these projects, we suggest you begin by reading their documentation to familiarize yourself with some new concepts before working with Spring Cloud Gateway. IMPORTANT: Spring Cloud Gateway requires the Netty runtime provided by Spring Boot and Spring Webflux. It does not work in a traditional Servlet Container or when built as a WAR. @@ -808,8 +808,8 @@ You can find more information on doing so in the <> applied to all routes, make a ==== The response contains the details of the global filters that are in place. -For each global filter, there is a string representation of the filter object (for example, `org.springframework.cloud.gateway.filter.ReactiveLoadBalancerClientFilter@77856cc5`) and the corresponding <> in the filter chain.} +For each global filter, there is a string representation of the filter object (for example, `org.springframework.cloud.gateway.filter.ReactiveLoadBalancerClientFilter@77856cc5`) and the corresponding <> in the filter chain. [[gateway-route-filters]] ==== Route Filters @@ -2941,7 +2941,7 @@ To delete a route, make a `DELETE` request to `/gateway/routes/{id_route_to_dele === Recap: The List of All endpoints -The folloiwng table below summarizes the Spring Cloud Gateway actuator endpoints (note that each endpoint has `/actuator/gateway` as the base-path): +The following table below summarizes the Spring Cloud Gateway actuator endpoints (note that each endpoint has `/actuator/gateway` as the base-path): [cols="2,2,5"] |=== @@ -3128,7 +3128,7 @@ name to be compliant. To write a custom global filter, you must implement `GlobalFilter` interface as a bean. This applies the filter to all requests. -The following examples show how to set up global pre and post filters, respectively: +The following examples show how to set up global pre- and post-filters, respectively: ==== [source,java]