Class ModifyResponseBodyGatewayFilterFactory

All Implemented Interfaces:
org.springframework.beans.factory.Aware, GatewayFilterFactory<ModifyResponseBodyGatewayFilterFactory.Config>, Configurable<ModifyResponseBodyGatewayFilterFactory.Config>, ShortcutConfigurable, org.springframework.context.ApplicationEventPublisherAware

public class ModifyResponseBodyGatewayFilterFactory extends AbstractGatewayFilterFactory<ModifyResponseBodyGatewayFilterFactory.Config>
GatewayFilter that modifies the response body.

When the response has no body, the RewriteFunction is invoked with null for the body parameter. Implementations (including Kotlin with a nullable parameter) must handle this case.