Spring Cloud Gateway includes many built-in route predicates and gateway filter factories. Every route may be defined using configuration properties in the application.yml file or programmatically with the Fluent Java Routes API. The list of available predicate factories is provided in the following table. Multiple factories may be combined for a single route definition with a logical and relation. The collection of filters may be configured in the application.yml file under the spring.cloud.gateway.routes property for each defined route under the predicates property:
Name | Description | Example |
After Route | It takes a date-time parameter and matches requests that happen after it | After=2017-11-20T... |