112. Glossary

  • Route : Route the basic building block of the gateway. It is defined by an ID, a destination URI, a collection of predicates and a collection of filters. A route is matched if aggregate predicate is true.

  • Predicate : This is a Java 8 Function Predicate . The input type is a Spring Framework ServerWebExchange . This allows developers to match on anything from the HTTP request, such as headers or parameters.

  • Filter : These are instances Spring Framework GatewayFilter constructed in with a specific factory. Here, requests and responses can be modified before or after sending the downstream request.