|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.io.OutputStream | +--org.apache.catalina.connector.warp.WarpResponse.Stream
The OutputStream
that will handle all response body
transmission.
Constructor Summary | |
protected |
WarpResponse.Stream(WarpResponse response)
Construct a new instance of a WarpResponse.Stream
associated with a parent WarpResponse . |
Method Summary | |
void |
close()
Flush this WarpResponse.Stream and close it. |
void |
finish()
Flush this WarpResponse.Stream and close it. |
void |
flush()
Flush the current packet to the WARP client. |
void |
recycle()
Recycle this WarpResponse.Stream instance. |
void |
write(int b)
Write one byte of data to the WarpPacket nested
within this WarpResponse.Stream . |
Methods inherited from class java.io.OutputStream |
write, write |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
protected WarpResponse.Stream(WarpResponse response)
WarpResponse.Stream
associated with a parent WarpResponse
.
Method Detail |
public void write(int b) throws java.io.IOException
WarpPacket
nested
within this WarpResponse.Stream
. All data is buffered
until the flush()
or close()
method is
not called.
write
in class java.io.OutputStream
java.io.IOException
public void flush() throws java.io.IOException
flush
in class java.io.OutputStream
java.io.IOException
public void close() throws java.io.IOException
WarpResponse.Stream
and close it.
close
in class java.io.OutputStream
java.io.IOException
public void finish() throws java.io.IOException
WarpResponse.Stream
and close it.
java.io.IOException
public void recycle()
WarpResponse.Stream
instance.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |