com.caucho.server.hmux
Class HmuxResponseStream

java.lang.Object
  extended by java.io.OutputStream
      extended by com.caucho.vfs.OutputStreamWithBuffer
          extended by com.caucho.server.http.AbstractResponseStream
              extended by com.caucho.server.http.ToByteResponseStream
                  extended by com.caucho.server.http.ResponseStream
                      extended by com.caucho.server.hmux.HmuxResponseStream
All Implemented Interfaces:
ByteAppendable, java.io.Closeable, java.io.Flushable

public class HmuxResponseStream
extends ResponseStream


Field Summary
 
Fields inherited from class com.caucho.server.http.ToByteResponseStream
SIZE
 
Method Summary
protected  void closeNextImpl()
           
protected  void flushNextImpl()
           
protected  byte[] getNextBuffer()
           
protected  int getNextBufferOffset()
           
protected  int getNextStartOffset()
           
protected  void setNextBufferOffsetImpl(int offset)
           
protected  byte[] writeNextBufferImpl(int offset)
           
protected  void writeTailImpl(boolean isClose)
           
 
Methods inherited from class com.caucho.server.http.ResponseStream
canWrite, clear, clearBuffer, clearClosed, clearNext, closeImpl, closeNext, completeCache, dbgId, flush, flushByte, flushChar, flushNext, getBuffer, getBufferOffset, getByteCacheStream, getCauchoResponse, getContentLength, getResponse, hasData, isCauchoResponseStream, isCloseComplete, isCommitted, isDisableAutoFlush, isNextValid, killCaching, nextBuffer, setAutoFlush, setBufferOffset, setBufferSize, setByteCacheStream, setFlush, setNextBufferOffset, setProxyCacheResponse, setResponse, start, startCaching, toString, write, writeHeaders, writeNext, writeNextBuffer, writeTail
 
Methods inherited from class com.caucho.server.http.ToByteResponseStream
flushBuffer, flushByteBuffer, flushCharBuffer, getBufferLength, getBufferSize, getByteBufferOffset, getCharBuffer, getCharOffset, getRemaining, isCharFlushing, nextCharBuffer, print, print, setCharOffset, setEncoding, setLocale, setOutputStreamOnly, write
 
Methods inherited from class com.caucho.server.http.AbstractResponseStream
close, getCharCacheStream, getEncoding, isAutoFlush, isClosed, isClosing, isHead, sendFile, setCauchoResponse, setCharCacheStream, setCommitted, setHead, toClosing
 
Methods inherited from class java.io.OutputStream
write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getNextBuffer

protected byte[] getNextBuffer()
Specified by:
getNextBuffer in class ResponseStream

getNextStartOffset

protected int getNextStartOffset()
Overrides:
getNextStartOffset in class ResponseStream

getNextBufferOffset

protected int getNextBufferOffset()
                           throws java.io.IOException
Specified by:
getNextBufferOffset in class ResponseStream
Throws:
java.io.IOException

setNextBufferOffsetImpl

protected void setNextBufferOffsetImpl(int offset)
                                throws java.io.IOException
Specified by:
setNextBufferOffsetImpl in class ResponseStream
Throws:
java.io.IOException

writeNextBufferImpl

protected byte[] writeNextBufferImpl(int offset)
                              throws java.io.IOException
Specified by:
writeNextBufferImpl in class ResponseStream
Throws:
java.io.IOException

flushNextImpl

protected void flushNextImpl()
                      throws java.io.IOException
Specified by:
flushNextImpl in class ResponseStream
Throws:
java.io.IOException

closeNextImpl

protected void closeNextImpl()
                      throws java.io.IOException
Specified by:
closeNextImpl in class ResponseStream
Throws:
java.io.IOException

writeTailImpl

protected void writeTailImpl(boolean isClose)
                      throws java.io.IOException
Overrides:
writeTailImpl in class ResponseStream
Throws:
java.io.IOException