Class RequestSizeGatewayFilterFactory

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

public class RequestSizeGatewayFilterFactory extends AbstractGatewayFilterFactory<RequestSizeGatewayFilterFactory.RequestSizeConfig>
This filter blocks the request if the size in Content-Length header value is more than the permissible size. Has no effect if Content-Length header is missing. The default request size is 5 MB.
Author:
Arpan