Liferay 6.2-ce-ga5

com.liferay.portal.kernel.servlet
Class ServletOutputStreamAdapter

java.lang.Object
  extended by java.io.OutputStream
      extended by javax.servlet.ServletOutputStream
          extended by com.liferay.portal.kernel.servlet.ServletOutputStreamAdapter
All Implemented Interfaces:
Closeable, Flushable, AutoCloseable

public class ServletOutputStreamAdapter
extends javax.servlet.ServletOutputStream


Field Summary
protected  OutputStream outputStream
           
 
Constructor Summary
ServletOutputStreamAdapter(OutputStream outputStream)
           
 
Method Summary
 void close()
           
 void flush()
           
 void write(byte[] bytes)
           
 void write(byte[] bytes, int offset, int length)
           
 void write(int b)
           
 
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

outputStream

protected OutputStream outputStream
Constructor Detail

ServletOutputStreamAdapter

public ServletOutputStreamAdapter(OutputStream outputStream)
Method Detail

close

public void close()
           throws IOException
Specified by:
close in interface Closeable
Specified by:
close in interface AutoCloseable
Overrides:
close in class OutputStream
Throws:
IOException

flush

public void flush()
           throws IOException
Specified by:
flush in interface Flushable
Overrides:
flush in class OutputStream
Throws:
IOException

write

public void write(byte[] bytes)
           throws IOException
Overrides:
write in class OutputStream
Throws:
IOException

write

public void write(byte[] bytes,
                  int offset,
                  int length)
           throws IOException
Overrides:
write in class OutputStream
Throws:
IOException

write

public void write(int b)
           throws IOException
Specified by:
write in class OutputStream
Throws:
IOException

Liferay 6.2-ce-ga5