| |
|
| com.caucho.server.connection.AbstractResponseStream com.caucho.server.connection.ToByteResponseStream com.caucho.server.connection.ResponseStream
Field Summary | |
final static L10N | L | final static Logger | log |
canWrite | public boolean canWrite()(Code) | | Response stream is a writable stream.
|
clearBuffer | public void clearBuffer()(Code) | | |
clearClosed | public void clearClosed()(Code) | | Clear the closed state, because of the NOT_MODIFIED
|
flush | public void flush() throws IOException(Code) | | Flushes the buffered response to the output stream.
|
flushByte | public void flushByte() throws IOException(Code) | | Flushes the buffered response to the output stream.
|
flushChar | public void flushChar() throws IOException(Code) | | Flushes the buffered response to the writer.
|
getBufferOffset | public int getBufferOffset() throws IOException(Code) | | Returns the byte offset.
|
getContentLength | public int getContentLength()(Code) | | |
init | public void init(WriteStream next)(Code) | | |
isCauchoResponseStream | public boolean isCauchoResponseStream()(Code) | | Returns true for a Caucho response stream.
|
isCommitted | public boolean isCommitted()(Code) | | |
isHead | public boolean isHead()(Code) | | |
nextBuffer | public byte[] nextBuffer(int offset) throws IOException(Code) | | Sets the next buffer
|
setAutoFlush | public void setAutoFlush(boolean isAutoFlush)(Code) | | |
setBufferOffset | public void setBufferOffset(int offset) throws IOException(Code) | | Sets the byte offset.
|
setBufferSize | public void setBufferSize(int size)(Code) | | |
setByteCacheStream | public void setByteCacheStream(OutputStream cacheStream)(Code) | | Sets the underlying cache stream for a cached request.
Parameters: cache - the cache stream. |
setDisableAutoFlush | void setDisableAutoFlush(boolean disable)(Code) | | |
setFlush | void setFlush(boolean flush)(Code) | | |
setHead | public void setHead()(Code) | | |
start | public void start()(Code) | | initializes the Response stream at the beginning of a request.
|
writeNext | protected void writeNext(byte[] buf, int offset, int length, boolean isFinished) throws IOException(Code) | | Writes the next chunk of data to the response stream.
Parameters: buf - the buffer containing the data Parameters: offset - start offset into the buffer Parameters: length - length of the data in the buffer |
Fields inherited from com.caucho.server.connection.ToByteResponseStream | final protected static int SIZE(Code)(Java Doc) protected boolean _isFinished(Code)(Java Doc)
|
|
|
|