|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.io.OutputStream | +--java.io.FilterOutputStream | +--org.mortbay.http.NullableOutputStream
Buffered Output Stream. Uses ByteBufferOutputStream to allow pre and post writes.
Constructor Summary | |
NullableOutputStream(java.io.OutputStream outputStream,
int headerReserve)
|
Method Summary | |
void |
close()
Close the stream. |
void |
destroy()
|
void |
flush()
|
boolean |
isNullOutput()
is the output Nulled? |
void |
nullOutput()
Null the output. |
void |
resetStream()
|
void |
write(byte[] b)
|
void |
write(byte[] b,
int off,
int len)
|
void |
write(int b)
|
void |
writeHeader(HttpMessage httpMessage)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public NullableOutputStream(java.io.OutputStream outputStream, int headerReserve)
Method Detail |
public void nullOutput() throws java.io.IOException
java.io.IOException
public boolean isNullOutput() throws java.io.IOException
java.io.IOException
public void writeHeader(HttpMessage httpMessage) throws java.io.IOException
writeHeader
in interface HttpMessage.HeaderWriter
java.io.IOException
public void resetStream()
public void destroy()
public void write(int b) throws java.io.IOException
write
in class java.io.FilterOutputStream
java.io.IOException
public void write(byte[] b) throws java.io.IOException
write
in class java.io.FilterOutputStream
java.io.IOException
public void write(byte[] b, int off, int len) throws java.io.IOException
write
in class java.io.FilterOutputStream
java.io.IOException
public void flush() throws java.io.IOException
flush
in class java.io.FilterOutputStream
java.io.IOException
public void close() throws java.io.IOException
close
in class java.io.FilterOutputStream
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |