Class RequestHeaderSizeGatewayFilterFactory

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

public class RequestHeaderSizeGatewayFilterFactory extends AbstractGatewayFilterFactory<RequestHeaderSizeGatewayFilterFactory.Config>
This filter validates the size of each Request Header in the request, including the key. If size of the request header is greater than the configured maxSize, it blocks the request. Default max size of request header is 16KB.
Author:
Sakalya Deshpande, Marta Medio