spring-framework / org.springframework.web.util / ContentCachingRequestWrapper / <init>

<init>

ContentCachingRequestWrapper(request: HttpServletRequest)

Create a new ContentCachingRequestWrapper for the given servlet request.

Parameters

request - the original servlet request

ContentCachingRequestWrapper(request: HttpServletRequest, contentCacheLimit: Int)

Create a new ContentCachingRequestWrapper for the given servlet request.

Parameters

request - the original servlet request

contentCacheLimit - the maximum number of bytes to cache per request

Since
4.3.6

See Also
#handleContentOverflow(int)