/** Create a converter */ public C2BConverter(String encoding) throws IOException { this( new ByteChunk(1024), encoding ); }
/** Create a converter */ public C2BConverter(String encoding) throws IOException { this( new ByteChunk(1024), encoding ); }
/** * Create a converter * @deprecated Unused. Will be removed in Tomcat 8.0.x onwards. */ @Deprecated public C2BConverter(String encoding) throws IOException { this(new ByteChunk(1024), encoding); }
/** * Set the buffering limit. This should be reset every time the buffer is * used. */ public void setLimit(int limit) { if (buffered == null) { buffered = new ByteChunk(4048); buffered.setLimit(limit); } }
/** * Set the buffering limit. This should be reset every time the buffer is * used. */ public void setLimit(int limit) { if (buffered == null) { buffered = new ByteChunk(4048); buffered.setLimit(limit); } }
/** * Set the buffering limit. This should be reset every time the buffer is * used. */ public void setLimit(int limit) { if (buffered == null) { buffered = new ByteChunk(4048); buffered.setLimit(limit); } }
/** * Set the buffering limit. This should be reset every time the buffer is * used. */ public void setLimit(int limit) { if (buffered == null) { buffered = new ByteChunk(4048); buffered.setLimit(limit); } }
/** * Set the buffering limit. This should be reset every time the buffer is * used. */ public void setLimit(int limit) { if (buffered == null) { buffered = new ByteChunk(4048); buffered.setLimit(limit); } }
/** * Set the buffering limit. This should be reset every time the buffer is * used. */ public void setLimit(int limit) { if (buffered == null) { buffered = new ByteChunk(4048); buffered.setLimit(limit); } }
/** * Set the buffering limit. This should be reset every time the buffer is * used. */ public void setLimit(int limit) { if (buffered == null) { buffered = new ByteChunk(4048); buffered.setLimit(limit); } }
/** * Alternate constructor which allows specifying the initial buffer size. * * @param size Buffer size to use */ public OutputBuffer(int size) { bb = new ByteChunk(size); bb.setLimit(size); bb.setByteOutputChannel(this); }
/** * Default constructor. */ public InternalOutputBuffer(Response response, int headerBufferSize) { super(response, headerBufferSize); outputStreamOutputBuffer = new OutputStreamOutputBuffer(); socketBuffer = new ByteChunk(); socketBuffer.setByteOutputChannel(this); }
/** * Alternate constructor which allows specifying the initial buffer size. * * @param size Buffer size to use */ public OutputBuffer(int size) { bb = new ByteChunk(size); bb.setLimit(size); bb.setByteOutputChannel(this); }
/** * Alternate constructor which allows specifying the initial buffer size. * * @param size Buffer size to use */ public OutputBuffer(int size) { bb = new ByteChunk(size); bb.setLimit(size); bb.setByteOutputChannel(this); }
/** * Alternate constructor which allows specifying the initial buffer size. * * @param size Buffer size to use */ public OutputBuffer(int size) { bb = new ByteChunk(size); bb.setLimit(size); bb.setByteOutputChannel(this); }
/** * Default constructor. */ public InternalOutputBuffer(Response response, int headerBufferSize) { this.response = response; buf = new byte[headerBufferSize]; outputStreamOutputBuffer = new OutputStreamOutputBuffer(); filterLibrary = new OutputFilter[0]; activeFilters = new OutputFilter[0]; lastActiveFilter = -1; socketBuffer = new ByteChunk(); socketBuffer.setByteOutputChannel(this); committed = false; finished = false; }
/** * Alternate constructor which allows specifying the initial buffer size. * * @param size Buffer size to use */ public OutputBuffer(int size) { bb = new ByteChunk(size); bb.setLimit(size); bb.setByteOutputChannel(this); cb = new CharChunk(size); cb.setCharOutputChannel(this); cb.setLimit(size); }
/** * Alternate constructor which allows specifying the initial buffer size. * * @param size Buffer size to use */ public OutputBuffer(int size) { bb = new ByteChunk(size); bb.setLimit(size); bb.setByteOutputChannel(this); cb = new CharChunk(size); cb.setLimit(size); cb.setOptimizedWrite(false); cb.setCharOutputChannel(this); }
/** * Alternate constructor which allows specifying the initial buffer size. * * @param size Buffer size to use */ public OutputBuffer(int size) { bb = new ByteChunk(size); bb.setLimit(size); bb.setByteOutputChannel(this); cb = new CharChunk(size); cb.setLimit(size); cb.setOptimizedWrite(false); cb.setCharOutputChannel(this); }
/** * Alternate constructor which allows specifying the initial buffer size. * * @param size Buffer size to use */ public OutputBuffer(int size) { bb = new ByteChunk(size); bb.setLimit(size); bb.setByteOutputChannel(this); cb = new CharChunk(size); cb.setLimit(size); cb.setOptimizedWrite(false); cb.setCharOutputChannel(this); }