|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.io.OutputStream
com.caucho.vfs.OutputStreamWithBuffer
com.caucho.server.connection.AbstractResponseStream
com.caucho.server.connection.ToByteResponseStream
com.caucho.server.connection.IncludeResponseStream
public class IncludeResponseStream
| Field Summary |
|---|
| Fields inherited from class com.caucho.server.connection.ToByteResponseStream |
|---|
_isFinished, SIZE |
| Constructor Summary | |
|---|---|
IncludeResponseStream(AbstractHttpResponse response)
|
|
| Method Summary | |
|---|---|
void |
close()
Close. |
void |
finish()
Finish. |
void |
flushByte()
flushing |
void |
flushChar()
flushing |
protected void |
flushCharBuffer()
Converts the char buffer. |
void |
init(ServletResponse next)
|
boolean |
isCauchoResponseStream()
Returns true for a caucho response stream. |
void |
setBufferOffset(int offset)
Sets the byte buffer offset. |
void |
setByteCacheStream(java.io.OutputStream cacheStream)
Sets any cache stream. |
void |
setCauchoResponseStream(boolean isCaucho)
Set true for a caucho response stream. |
void |
setCharCacheStream(java.io.Writer cacheWriter)
Sets any cache stream. |
void |
start()
Initializes the Buffered Response stream at the beginning of a request. |
void |
write(byte[] buf,
int offset,
int length)
Writes the next chunk of data to the response stream. |
void |
write(int ch)
Writes the next chunk of data to the response stream. |
protected void |
writeNext(byte[] buf,
int offset,
int length,
boolean isEnd)
Writes the next chunk of data to the response stream. |
| Methods inherited from class com.caucho.server.connection.ToByteResponseStream |
|---|
clearBuffer, clearClose, flush, flushBuffer, flushByteBuffer, getBuffer, getBufferLength, getBufferOffset, getBufferSize, getCharBuffer, getCharOffset, getRemaining, nextBuffer, nextCharBuffer, print, print, setBufferSize, setCharOffset, setEncoding, setHead, setLocale, setOutputStreamOnly |
| Methods inherited from class com.caucho.server.connection.AbstractResponseStream |
|---|
clear, clearClosed, getContentLength, isAutoFlush, isCommitted, isHead, sendFile, setAutoFlush |
| Methods inherited from class java.io.OutputStream |
|---|
write |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IncludeResponseStream(AbstractHttpResponse response)
| Method Detail |
|---|
public void init(ServletResponse next)
public void start()
ToByteResponseStream
start in class ToByteResponseStreampublic boolean isCauchoResponseStream()
isCauchoResponseStream in class ToByteResponseStreampublic void setCauchoResponseStream(boolean isCaucho)
public void setByteCacheStream(java.io.OutputStream cacheStream)
setByteCacheStream in class AbstractResponseStreampublic void setCharCacheStream(java.io.Writer cacheWriter)
setCharCacheStream in class AbstractResponseStream
protected void flushCharBuffer()
throws java.io.IOException
flushCharBuffer in class ToByteResponseStreamjava.io.IOException
public void setBufferOffset(int offset)
throws java.io.IOException
setBufferOffset in class ToByteResponseStreamjava.io.IOException
public void write(int ch)
throws java.io.IOException
write in class ToByteResponseStreambuf - the buffer containing the dataoffset - start offset into the bufferlength - length of the data in the buffer
java.io.IOException
public void write(byte[] buf,
int offset,
int length)
throws java.io.IOException
write in class ToByteResponseStreambuf - the buffer containing the dataoffset - start offset into the bufferlength - length of the data in the buffer
java.io.IOException
protected void writeNext(byte[] buf,
int offset,
int length,
boolean isEnd)
throws java.io.IOException
writeNext in class ToByteResponseStreambuf - the buffer containing the dataoffset - start offset into the bufferlength - length of the data in the buffer
java.io.IOException
public void flushByte()
throws java.io.IOException
flushByte in class AbstractResponseStreamjava.io.IOException
public void flushChar()
throws java.io.IOException
flushChar in class AbstractResponseStreamjava.io.IOException
public void finish()
throws java.io.IOException
finish in class AbstractResponseStreamjava.io.IOException
public void close()
throws java.io.IOException
close in interface java.io.Closeableclose in class ToByteResponseStreamjava.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||