From b15104ea4fec48b271dc96deeb092a0250eeecf7 Mon Sep 17 00:00:00 2001 From: buildmaster Date: Fri, 9 Mar 2018 15:32:29 +0000 Subject: [PATCH] Sync docs from master to gh-pages --- multi/multi__configuration.html | 2 +- single/spring-cloud-gateway.html | 2 +- spring-cloud-gateway.xml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/multi/multi__configuration.html b/multi/multi__configuration.html index 854be6b8..a8eff1ec 100644 --- a/multi/multi__configuration.html +++ b/multi/multi__configuration.html @@ -19,7 +19,7 @@ uri: http://example.org filters: - SetStatus=401

-

For some usages of the gateway, properties will be adequate, but some production use cases will benefit from loading configuration from an external source, such as a database. Future milestone versions will have RouteDefinitionLocator implementations based off of Spring Data Repositories such as: Redis, MongoDB and Cassandra.

7.1 Fluent Java Routes API

To allow for simple configuration in Java, there is a fluent API defined in the Routes class.

GatewaySampleApplication.java.  +

For some usages of the gateway, properties will be adequate, but some production use cases will benefit from loading configuration from an external source, such as a database. Future milestone versions will have RouteDefinitionLocator implementations based off of Spring Data Repositories such as: Redis, MongoDB and Cassandra.

7.1 Fluent Java Routes API

To allow for simple configuration in Java, there is a fluent API defined in the RouteLocatorBuilder bean.

GatewaySampleApplication.java. 

// static imports from GatewayFilters and RoutePredicates
 @Bean
 public RouteLocator customRouteLocator(RouteLocatorBuilder builder, ThrottleGatewayFilterFactory throttle) {
diff --git a/single/spring-cloud-gateway.html b/single/spring-cloud-gateway.html
index e73742d4..8a083906 100644
--- a/single/spring-cloud-gateway.html
+++ b/single/spring-cloud-gateway.html
@@ -298,7 +298,7 @@ using something like         uri: http://example.org
         filters:
         - SetStatus=401

-

For some usages of the gateway, properties will be adequate, but some production use cases will benefit from loading configuration from an external source, such as a database. Future milestone versions will have RouteDefinitionLocator implementations based off of Spring Data Repositories such as: Redis, MongoDB and Cassandra.

7.1 Fluent Java Routes API

To allow for simple configuration in Java, there is a fluent API defined in the Routes class.

GatewaySampleApplication.java.  +

For some usages of the gateway, properties will be adequate, but some production use cases will benefit from loading configuration from an external source, such as a database. Future milestone versions will have RouteDefinitionLocator implementations based off of Spring Data Repositories such as: Redis, MongoDB and Cassandra.

7.1 Fluent Java Routes API

To allow for simple configuration in Java, there is a fluent API defined in the RouteLocatorBuilder bean.

GatewaySampleApplication.java. 

// static imports from GatewayFilters and RoutePredicates
 @Bean
 public RouteLocator customRouteLocator(RouteLocatorBuilder builder, ThrottleGatewayFilterFactory throttle) {
diff --git a/spring-cloud-gateway.xml b/spring-cloud-gateway.xml
index 4a563547..954bc035 100644
--- a/spring-cloud-gateway.xml
+++ b/spring-cloud-gateway.xml
@@ -754,7 +754,7 @@ using something like S
 For some usages of the gateway, properties will be adequate, but some production use cases will benefit from loading configuration from an external source, such as a database. Future milestone versions will have RouteDefinitionLocator implementations based off of Spring Data Repositories such as: Redis, MongoDB and Cassandra.
 
Fluent Java Routes API -To allow for simple configuration in Java, there is a fluent API defined in the Routes class. +To allow for simple configuration in Java, there is a fluent API defined in the RouteLocatorBuilder bean. GatewaySampleApplication.java