These are chat archives for spring-cloud/spring-cloud

5th
Jan 2019
Jakub Kubryński
@jkubrynski
Jan 05 18:05
Hi! I've a question regarding the spring-cloud-gateway. There is a AbstractGatewayFilterFactory class. As far as I understand if I want to write my own GatewayFilter I should implement it via the factory. Then to include it in the RouteLocator I need to inject my factory and inside the filters method call something like myFilterFactory.apply(...). Is there any simpler way? If no why don't just impement custom GatewayFilter class?