List of usage examples for javax.servlet ServletResponse setBufferSize
public void setBufferSize(int size);
From source file:org.kuali.rice.krad.web.filter.SetResponseBufferSizeFilter.java
/** * Sets the bufferSize of the response./*w w w . ja v a2 s . c o m*/ * * @see Filter#doFilter */ public void doFilter(ServletRequest servletRequest, ServletResponse servletResponse, FilterChain filterChain) throws IOException, ServletException { if (log.isDebugEnabled()) { log.debug("setting response buffer size to " + bufferSize); } servletResponse.setBufferSize(bufferSize); filterChain.doFilter(servletRequest, servletResponse); }