|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.io.OutputStream javax.servlet.ServletOutputStream info.magnolia.cms.cache.MultiplexServletOutputStream
public class MultiplexServletOutputStream
A simple ServletOutputStream implementation that duplicates any output to two different output stream. Very similar to TeeOutputStream from commons-io.
Constructor Summary | |
---|---|
MultiplexServletOutputStream(OutputStream stream1,
OutputStream stream2)
Deprecated. |
Method Summary | |
---|---|
void |
close()
Deprecated. |
void |
flush()
Deprecated. |
void |
write(byte[] value)
Deprecated. |
void |
write(byte[] b,
int off,
int len)
Deprecated. |
void |
write(int value)
Deprecated. |
Methods inherited from class javax.servlet.ServletOutputStream |
---|
print, print, print, print, print, print, print, println, println, println, println, println, println, println, println |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MultiplexServletOutputStream(OutputStream stream1, OutputStream stream2)
Method Detail |
---|
public void write(int value) throws IOException
write
in class OutputStream
IOException
public void write(byte[] value) throws IOException
write
in class OutputStream
IOException
public void write(byte[] b, int off, int len) throws IOException
write
in class OutputStream
IOException
public void flush() throws IOException
flush
in interface Flushable
flush
in class OutputStream
IOException
public void close() throws IOException
close
in interface Closeable
close
in class OutputStream
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |