void init( ServletResponse response, int sz, boolean autoFlush ) { this.response= response; this.autoFlush=autoFlush; this.bufferSize=sz; allocateCharBuffer(); // START OF IASRI 4641975/6172992 try { response.setBufferSize(sz); } catch (IllegalStateException ise) { // ignore } // END OF IASRI 4641975/6172992 }
void init( ServletResponse response, int sz, boolean autoFlush ) { this.response= response; this.autoFlush=autoFlush; this.bufferSize=sz; allocateCharBuffer(); // START OF IASRI 4641975/6172992 try { response.setBufferSize(sz); } catch (IllegalStateException ise) { // ignore } // END OF IASRI 4641975/6172992 }
void init( ServletResponse response, int sz, boolean autoFlush ) { this.response= response; this.autoFlush=autoFlush; this.bufferSize=sz; allocateCharBuffer(); // START OF IASRI 4641975/6172992 try { response.setBufferSize(sz); } catch (IllegalStateException ise) { // ignore } // END OF IASRI 4641975/6172992 }
/** * Create a new buffered character-output stream that uses an output * buffer of the given size. * * @param response A Servlet Response * @param sz Output-buffer size, a positive integer * * @exception IllegalArgumentException If sz is <= 0 */ public JspWriterImpl(ServletResponse response, int sz, boolean autoFlush) { super(sz, autoFlush); if (sz < 0) throw new IllegalArgumentException("Buffer size <= 0"); this.response = response; allocateCharBuffer(); // START OF IASRI 4641975/6172992 try { response.setBufferSize(sz); } catch (IllegalStateException ise) { // ignore } // END OF IASRI 4641975/6172992 }
/** * Create a new buffered character-output stream that uses an output * buffer of the given size. * * @param response A Servlet Response * @param sz Output-buffer size, a positive integer * * @exception IllegalArgumentException If sz is <= 0 */ public JspWriterImpl(ServletResponse response, int sz, boolean autoFlush) { super(sz, autoFlush); if (sz < 0) throw new IllegalArgumentException("Buffer size <= 0"); this.response = response; allocateCharBuffer(); // START OF IASRI 4641975/6172992 try { response.setBufferSize(sz); } catch (IllegalStateException ise) { // ignore } // END OF IASRI 4641975/6172992 }
/** * Create a new buffered character-output stream that uses an output * buffer of the given size. * * @param response A Servlet Response * @param sz Output-buffer size, a positive integer * * @exception IllegalArgumentException If sz is <= 0 */ public JspWriterImpl(ServletResponse response, int sz, boolean autoFlush) { super(sz, autoFlush); if (sz < 0) throw new IllegalArgumentException("Buffer size <= 0"); this.response = response; allocateCharBuffer(); // START OF IASRI 4641975/6172992 try { response.setBufferSize(sz); } catch (IllegalStateException ise) { // ignore } // END OF IASRI 4641975/6172992 }