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
- Author:
- Shuyang Zhou
| 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[] bytes)
throws java.io.IOException
- Overrides:
write in class java.io.OutputStream
- Throws:
java.io.IOException
write
public void write(byte[] bytes,
int offset,
int length)
throws java.io.IOException
- Overrides:
write in class java.io.OutputStream
- Throws:
java.io.IOException
write
public void write(int b)
throws java.io.IOException
- Specified by:
write in class java.io.OutputStream
- Throws:
java.io.IOException