Class RequestContentInjector

java.lang.Object
org.restheart.handlers.PipelinedHandler
org.restheart.handlers.injectors.RequestContentInjector
All Implemented Interfaces:
io.undertow.server.HttpHandler

public class RequestContentInjector extends PipelinedHandler
injects in the exchange the request content if the request involves a Service or a Request Interceptor whose requiresContent() returns true Note that getting the content has significant performance overhead for proxied resources. To mitigate DoS attacks the injector limits the size of the content to MAX_CONTENT_SIZE bytes
Author:
Andrea Di Cesare <andrea@softinstigate.com>