org.springframework.web.util

Class ContentCachingRequestWrapper

    • Constructor Detail

      • ContentCachingRequestWrapper

        public ContentCachingRequestWrapper(HttpServletRequest request)
        Create a new ContentCachingRequestWrapper for the given servlet request.
        Parameters:
        request - the original servlet request
      • ContentCachingRequestWrapper

        public ContentCachingRequestWrapper(HttpServletRequest request,
                                            int contentCacheLimit)
        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)