This is a Java application built with Spring Boot and Maven. It serves as a gateway for microservices architecture, implementing custom filters for request translation.
The application consists of several components:
-
RequestTranslationFilter
: A custom filter for the Spring Cloud Gateway. It translates incoming requests using theRequestBodyExtractor
and theRequestDecoratorFactory
. -
RequestBodyExtractor
: Extracts the body of the request and converts it into aGatewayRequest
object. -
RequestDecoratorFactory
: Creates decorators for theGatewayRequest
object. -
PostRequestDecorator
andGetRequestDecorator
: Decorators for theGatewayRequest
object for POST and GET requests respectively. -
GatewayRequest
: Represents a request that is being processed by the gateway.
For more detailed information about these components, please refer to the source code documentation.