类 ContentCachingRequestWrapper

所有已实现的接口:
HttpServletRequest, ServletRequest

public class ContentCachingRequestWrapper extends HttpServletRequestWrapper
HttpServletRequest wrapper that caches all content read from the input stream and reader, and allows this content to be retrieved via a byte array.

This class acts as an interceptor that only caches content as it is being read but otherwise does not cause content to be read. That means if the request content is not consumed, then the content is not cached, and cannot be retrieved via getContentAsByteArray().

从以下版本开始:
4.0
作者:
Juergen Hoeller, Brian Clozel, Harry Yang
另请参阅: