Class PayloadSizeLimitingHttpServiceFilter

java.lang.Object
io.servicetalk.http.utils.PayloadSizeLimitingHttpServiceFilter
All Implemented Interfaces:
HttpExecutionStrategyInfluencer, StreamingHttpServiceFilterFactory, ExecutionStrategyInfluencer<HttpExecutionStrategy>

public final class PayloadSizeLimitingHttpServiceFilter extends Object implements StreamingHttpServiceFilterFactory
Limits the request payload size. The filter will throw an exception which may result in stream/connection closure. A PayloadTooLargeException will be thrown when the maximum payload size is exceeded.