com.liferay.portal.kernel.servlet
Class PipingServletOutputStream
java.lang.Object
java.io.OutputStream
javax.servlet.ServletOutputStream
com.liferay.portal.kernel.servlet.PipingServletOutputStream
- All Implemented Interfaces:
- java.io.Closeable, java.io.Flushable
public class PipingServletOutputStream
- extends javax.servlet.ServletOutputStream
View Source
- Author:
- Shuyang Zhou
Method Summary |
void |
close()
|
boolean |
isClosed()
|
void |
write(byte[] byteArray)
|
void |
write(byte[] byteArray,
int offset,
int length)
|
void |
write(int i)
|
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.io.OutputStream |
flush |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PipingServletOutputStream
public PipingServletOutputStream(java.io.OutputStream outputStream)
close
public void close()
throws java.io.IOException
- Specified by:
close
in interface java.io.Closeable
- Overrides:
close
in class java.io.OutputStream
- Throws:
java.io.IOException
isClosed
public boolean isClosed()
write
public void write(byte[] byteArray)
throws java.io.IOException
- Overrides:
write
in class java.io.OutputStream
- Throws:
java.io.IOException
write
public void write(byte[] byteArray,
int offset,
int length)
throws java.io.IOException
- Overrides:
write
in class java.io.OutputStream
- Throws:
java.io.IOException
write
public void write(int i)
throws java.io.IOException
- Specified by:
write
in class java.io.OutputStream
- Throws:
java.io.IOException