|
||||||||||
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(java.io.OutputStream stream1,
java.io.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(java.io.OutputStream stream1, java.io.OutputStream stream2)
Method Detail |
---|
public void write(int value) throws java.io.IOException
write
in class java.io.OutputStream
java.io.IOException
public void write(byte[] value) throws java.io.IOException
write
in class java.io.OutputStream
java.io.IOException
public void write(byte[] b, int off, int len) throws java.io.IOException
write
in class java.io.OutputStream
java.io.IOException
public void flush() throws java.io.IOException
flush
in interface java.io.Flushable
flush
in class java.io.OutputStream
java.io.IOException
public void close() throws java.io.IOException
close
in interface java.io.Closeable
close
in class java.io.OutputStream
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |