Browse Source

Remove reference to old Routes class

pull/227/head
Spencer Gibb 7 years ago
parent
commit
34fd45dc4a
No known key found for this signature in database
GPG Key ID: 7788A47380690861
  1. 2
      docs/src/main/asciidoc/spring-cloud-gateway.adoc

2
docs/src/main/asciidoc/spring-cloud-gateway.adoc

@ -713,7 +713,7 @@ spring: @@ -713,7 +713,7 @@ spring:
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
[source,java]

Loading…
Cancel
Save