|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.io.OutputStream
javax.servlet.ServletOutputStream
org.ibisph.filter.artifact.ResponseStream
public class ResponseStream
Standard response stream required for the artifacting filter mechanism.
| Field Summary | |
|---|---|
protected java.io.OutputStream |
outputStream
|
protected javax.servlet.ServletOutputStream |
servletOutputStream
|
| Constructor Summary | |
|---|---|
ResponseStream(java.io.OutputStream outputStream)
Core of the response stream. |
|
| Method Summary | |
|---|---|
void |
close()
Closes the output stream |
void |
flush()
Flushes the output stream |
void |
write(byte[] b)
Standard write method that is used by downstream response processing. |
void |
write(byte[] b,
int off,
int len)
Standard write method that is used by downstream response processing. |
void |
write(int b)
Standard write method that is used by downstream response processing. |
| 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 |
| Field Detail |
|---|
protected javax.servlet.ServletOutputStream servletOutputStream
protected java.io.OutputStream outputStream
| Constructor Detail |
|---|
public ResponseStream(java.io.OutputStream outputStream)
outputStream - New output stream that is to be used to capture
the response.| Method Detail |
|---|
public void close()
throws java.io.IOException
close in interface java.io.Closeableclose in class java.io.OutputStreamjava.io.IOException
public void flush()
throws java.io.IOException
flush in interface java.io.Flushableflush in class java.io.OutputStreamjava.io.IOException
public void write(int b)
throws java.io.IOException
write in class java.io.OutputStreamb - Byte of data to be written to the new captured output stream.
java.io.IOException
public void write(byte[] b)
throws java.io.IOException
write in class java.io.OutputStreamb - Array of bytes to be written to the new captured output stream.
java.io.IOException
public void write(byte[] b,
int off,
int len)
throws java.io.IOException
write in class java.io.OutputStreamb - Array of bytes to be written to the new captured output stream.off - Offset of where to write the bytes to the new captured output
stream.len - Number of bytes to the new captured output stream.
java.io.IOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||