API Gateway pattern components

The API Gateway pattern is based on calling API services using a proxy. The API Gateway proxy service has mainly four types of filters. These filters intercept the HTTP requests coming from the client applications. You can also add your own custom filters for a specific URL pattern. Let's see the following diagram that displays API Gateway's components:

API Gateway has mainly four filters as follows:

  • Pre filter: These filters will be invoked before the HTTP request is routed
  • Post filter: These filters will be invoked after the HTTP request has been routed
  • Route filter: These filters will be used to route ...

Get Mastering Spring Boot 2.0 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.