From 50e7fea3f768e121698bf58c0a6a046ae1696e17 Mon Sep 17 00:00:00 2001 From: buildmaster Date: Fri, 31 Jan 2020 22:07:59 +0000 Subject: [PATCH] Sync docs from 2.1.x to gh-pages --- 2.1.x/multi/multi_pr01.html | 2 +- 2.1.x/single/spring-cloud-gateway.html | 2 +- 2.1.x/spring-cloud-gateway.html | 2 +- 2.1.x/spring-cloud-gateway.xml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/2.1.x/multi/multi_pr01.html b/2.1.x/multi/multi_pr01.html index b04296b6..5f7cfdf3 100644 --- a/2.1.x/multi/multi_pr01.html +++ b/2.1.x/multi/multi_pr01.html @@ -1,3 +1,3 @@ -

2.1.5.BUILD-SNAPSHOT

This project provides an API Gateway built on top of the Spring Ecosystem, including: Spring 5, Spring Boot 2 and Project Reactor. Spring Cloud Gateway aims to provide a simple, yet effective way to route to APIs and provide cross cutting concerns to them such as: security, monitoring/metrics, and resiliency.

\ No newline at end of file +

2.1.6.BUILD-SNAPSHOT

This project provides an API Gateway built on top of the Spring Ecosystem, including: Spring 5, Spring Boot 2 and Project Reactor. Spring Cloud Gateway aims to provide a simple, yet effective way to route to APIs and provide cross cutting concerns to them such as: security, monitoring/metrics, and resiliency.

\ No newline at end of file diff --git a/2.1.x/single/spring-cloud-gateway.html b/2.1.x/single/spring-cloud-gateway.html index 2e6460ec..825bce49 100644 --- a/2.1.x/single/spring-cloud-gateway.html +++ b/2.1.x/single/spring-cloud-gateway.html @@ -1,6 +1,6 @@ - Spring Cloud Gateway

Spring Cloud Gateway


Table of Contents

1. How to Include Spring Cloud Gateway
2. Glossary
3. How It Works
4. Configuring Route Predicate Factories and Gateway Filter Factories
4.1. Shortcut Configuration
4.2. Fully Expanded Arguments
5. Route Predicate Factories
5.1. After Route Predicate Factory
5.2. Before Route Predicate Factory
5.3. Between Route Predicate Factory
5.4. Cookie Route Predicate Factory
5.5. Header Route Predicate Factory
5.6. Host Route Predicate Factory
5.7. Method Route Predicate Factory
5.8. Path Route Predicate Factory
5.9. Query Route Predicate Factory
5.10. RemoteAddr Route Predicate Factory
5.11. Weight Route Predicate Factory
5.11.1. Modifying the way remote addresses are resolved
6. GatewayFilter Factories
6.1. AddRequestHeader GatewayFilter Factory
6.2. AddRequestParameter GatewayFilter Factory
6.3. AddResponseHeader GatewayFilter Factory
6.4. DedupeResponseHeader GatewayFilter Factory
6.5. Hystrix GatewayFilter Factory
6.6. FallbackHeaders GatewayFilter Factory
6.7. MapRequestHeader GatewayFilter Factory
6.8. PrefixPath GatewayFilter Factory
6.9. PreserveHostHeader GatewayFilter Factory
6.10. RequestRateLimiter GatewayFilter Factory
6.10.1. Redis RateLimiter
6.11. RedirectTo GatewayFilter Factory
6.12. RemoveRequestHeader GatewayFilter Factory
6.13. RemoveResponseHeader GatewayFilter Factory
6.14. RewritePath GatewayFilter Factory
6.15. RewriteLocationResponseHeader GatewayFilter Factory
6.16. RewriteResponseHeader GatewayFilter Factory
6.17. SaveSession GatewayFilter Factory
6.18. SecureHeaders GatewayFilter Factory
6.19. SetPath GatewayFilter Factory
6.20. SetRequestHeader GatewayFilter Factory
6.21. SetResponseHeader GatewayFilter Factory
6.22. SetStatus GatewayFilter Factory
6.23. StripPrefix GatewayFilter Factory
6.24. Retry GatewayFilter Factory
6.25. RequestSize GatewayFilter Factory
6.26. Modify Request Body GatewayFilter Factory
6.27. Modify Response Body GatewayFilter Factory
6.28. Default Filters
7. Global Filters
7.1. Combined Global Filter and GatewayFilter Ordering
7.2. Forward Routing Filter
7.3. LoadBalancerClient Filter
7.4. ReactiveLoadBalancerClientFilter
7.5. Netty Routing Filter
7.6. Netty Write Response Filter
7.7. RouteToRequestUrl Filter
7.8. Websocket Routing Filter
7.9. Gateway Metrics Filter
7.10. Marking An Exchange As Routed
8. HttpHeadersFilters
8.1. Forwarded Headers Filter
8.2. RemoveHopByHop Headers Filter
8.3. XForwarded Headers Filter
9. TLS / SSL
9.1. TLS Handshake
10. Configuration
10.1. Fluent Java Routes API
10.2. DiscoveryClient Route Definition Locator
10.2.1. Configuring Predicates and Filters For DiscoveryClient Routes
11. Reactor Netty Access Logs
12. CORS Configuration
13. Actuator API
13.1. Verbose Actuator Format
13.2. Retrieving route filters
13.2.1. Global Filters
13.2.2. Route Filters
13.3. Refreshing the route cache
13.4. Retrieving the routes defined in the gateway
13.5. Retrieving information about a particular route
13.6. Creating and deleting a particular route
13.7. Recap: list of all endpoints
14. Troubleshooting
14.1. Log Levels
14.2. Wiretap
15. Developer Guide
15.1. Writing Custom Route Predicate Factories
15.2. Writing Custom GatewayFilter Factories
15.3. Writing Custom Global Filters
16. Building a Simple Gateway Using Spring MVC or Webflux

2.1.5.BUILD-SNAPSHOT

This project provides an API Gateway built on top of the Spring Ecosystem, including: Spring 5, Spring Boot 2 and Project Reactor. Spring Cloud Gateway aims to provide a simple, yet effective way to route to APIs and provide cross cutting concerns to them such as: security, monitoring/metrics, and resiliency.

1. How to Include Spring Cloud Gateway

To include Spring Cloud Gateway in your project use the starter with group org.springframework.cloud + Spring Cloud Gateway

Spring Cloud Gateway


Table of Contents

1. How to Include Spring Cloud Gateway
2. Glossary
3. How It Works
4. Configuring Route Predicate Factories and Gateway Filter Factories
4.1. Shortcut Configuration
4.2. Fully Expanded Arguments
5. Route Predicate Factories
5.1. After Route Predicate Factory
5.2. Before Route Predicate Factory
5.3. Between Route Predicate Factory
5.4. Cookie Route Predicate Factory
5.5. Header Route Predicate Factory
5.6. Host Route Predicate Factory
5.7. Method Route Predicate Factory
5.8. Path Route Predicate Factory
5.9. Query Route Predicate Factory
5.10. RemoteAddr Route Predicate Factory
5.11. Weight Route Predicate Factory
5.11.1. Modifying the way remote addresses are resolved
6. GatewayFilter Factories
6.1. AddRequestHeader GatewayFilter Factory
6.2. AddRequestParameter GatewayFilter Factory
6.3. AddResponseHeader GatewayFilter Factory
6.4. DedupeResponseHeader GatewayFilter Factory
6.5. Hystrix GatewayFilter Factory
6.6. FallbackHeaders GatewayFilter Factory
6.7. MapRequestHeader GatewayFilter Factory
6.8. PrefixPath GatewayFilter Factory
6.9. PreserveHostHeader GatewayFilter Factory
6.10. RequestRateLimiter GatewayFilter Factory
6.10.1. Redis RateLimiter
6.11. RedirectTo GatewayFilter Factory
6.12. RemoveRequestHeader GatewayFilter Factory
6.13. RemoveResponseHeader GatewayFilter Factory
6.14. RewritePath GatewayFilter Factory
6.15. RewriteLocationResponseHeader GatewayFilter Factory
6.16. RewriteResponseHeader GatewayFilter Factory
6.17. SaveSession GatewayFilter Factory
6.18. SecureHeaders GatewayFilter Factory
6.19. SetPath GatewayFilter Factory
6.20. SetRequestHeader GatewayFilter Factory
6.21. SetResponseHeader GatewayFilter Factory
6.22. SetStatus GatewayFilter Factory
6.23. StripPrefix GatewayFilter Factory
6.24. Retry GatewayFilter Factory
6.25. RequestSize GatewayFilter Factory
6.26. Modify Request Body GatewayFilter Factory
6.27. Modify Response Body GatewayFilter Factory
6.28. Default Filters
7. Global Filters
7.1. Combined Global Filter and GatewayFilter Ordering
7.2. Forward Routing Filter
7.3. LoadBalancerClient Filter
7.4. ReactiveLoadBalancerClientFilter
7.5. Netty Routing Filter
7.6. Netty Write Response Filter
7.7. RouteToRequestUrl Filter
7.8. Websocket Routing Filter
7.9. Gateway Metrics Filter
7.10. Marking An Exchange As Routed
8. HttpHeadersFilters
8.1. Forwarded Headers Filter
8.2. RemoveHopByHop Headers Filter
8.3. XForwarded Headers Filter
9. TLS / SSL
9.1. TLS Handshake
10. Configuration
10.1. Fluent Java Routes API
10.2. DiscoveryClient Route Definition Locator
10.2.1. Configuring Predicates and Filters For DiscoveryClient Routes
11. Reactor Netty Access Logs
12. CORS Configuration
13. Actuator API
13.1. Verbose Actuator Format
13.2. Retrieving route filters
13.2.1. Global Filters
13.2.2. Route Filters
13.3. Refreshing the route cache
13.4. Retrieving the routes defined in the gateway
13.5. Retrieving information about a particular route
13.6. Creating and deleting a particular route
13.7. Recap: list of all endpoints
14. Troubleshooting
14.1. Log Levels
14.2. Wiretap
15. Developer Guide
15.1. Writing Custom Route Predicate Factories
15.2. Writing Custom GatewayFilter Factories
15.3. Writing Custom Global Filters
16. Building a Simple Gateway Using Spring MVC or Webflux

2.1.6.BUILD-SNAPSHOT

This project provides an API Gateway built on top of the Spring Ecosystem, including: Spring 5, Spring Boot 2 and Project Reactor. Spring Cloud Gateway aims to provide a simple, yet effective way to route to APIs and provide cross cutting concerns to them such as: security, monitoring/metrics, and resiliency.

1. How to Include Spring Cloud Gateway

To include Spring Cloud Gateway in your project use the starter with group org.springframework.cloud and artifact id spring-cloud-starter-gateway. See the Spring Cloud Project page for details on setting up your build system with the current Spring Cloud Release Train.

If you include the starter, but, for some reason, you do not want the gateway to be enabled, set spring.cloud.gateway.enabled=false.

[Important]Important

Spring Cloud Gateway is built upon Spring Boot 2.x, Spring WebFlux, diff --git a/2.1.x/spring-cloud-gateway.html b/2.1.x/spring-cloud-gateway.html index 57e66da8..325ba13c 100644 --- a/2.1.x/spring-cloud-gateway.html +++ b/2.1.x/spring-cloud-gateway.html @@ -90,7 +90,7 @@ $(addBlockSwitches);

-

2.1.5.BUILD-SNAPSHOT

+

2.1.6.BUILD-SNAPSHOT

diff --git a/2.1.x/spring-cloud-gateway.xml b/2.1.x/spring-cloud-gateway.xml index 443acc14..ef8c70aa 100644 --- a/2.1.x/spring-cloud-gateway.xml +++ b/2.1.x/spring-cloud-gateway.xml @@ -8,7 +8,7 @@ -2.1.5.BUILD-SNAPSHOT +2.1.6.BUILD-SNAPSHOT This project provides an API Gateway built on top of the Spring Ecosystem, including: Spring 5, Spring Boot 2 and Project Reactor. Spring Cloud Gateway aims to provide a simple, yet effective way to route to APIs and provide cross cutting concerns to them such as: security, monitoring/metrics, and resiliency.