|
||||||||
| 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
|
+--de.neteye.actioncache.MultiplexServletOutputStream
ServletOutputStream that sends the data written to it to two different streams.
| Constructor Summary | |
MultiplexServletOutputStream(java.io.OutputStream out1,
java.io.OutputStream out2)
Construct a new MultiplexServletOutputStream |
|
| Method Summary | |
void |
close()
Close the streams |
void |
flush()
Flush the streams |
void |
write(byte[] value)
Write to the output streams |
void |
write(byte[] b,
int off,
int len)
Write to the output streams |
void |
write(int value)
Write to the output streams |
| 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 out1,
java.io.OutputStream out2)
out1 - The first output streamout2 - The second output stream| Method Detail |
public void write(int value)
throws java.io.IOException
write in class java.io.OutputStreamvalue - The value to write
java.io.IOException
public void write(byte[] value)
throws java.io.IOException
write in class java.io.OutputStreamvalue - The value to write
java.io.IOException
public void write(byte[] b,
int off,
int len)
throws java.io.IOException
write in class java.io.OutputStreamoff - The offset before starting to writelen - The lenght to write
java.io.IOException
public void flush()
throws java.io.IOException
flush in class java.io.OutputStreamjava.io.IOException
public void close()
throws java.io.IOException
close in class java.io.OutputStreamjava.io.IOException
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||