public class PortletServletOutputStream
extends javax.servlet.ServletOutputStream
OutputStream
from a portlet as a ServletOutputStream
instance.
Clients accessing this stream object will in fact operate on the
OutputStream
object wrapped by this stream object.Constructor and Description |
---|
PortletServletOutputStream(OutputStream portletOutputStream) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
flush() |
OutputStream |
getOutputStream()
Get the wrapped
OutputStream instance. |
void |
write(byte[] b) |
void |
write(byte[] b,
int off,
int len) |
void |
write(int ch) |
public PortletServletOutputStream(OutputStream portletOutputStream)
public void write(int ch) throws IOException
write
in class OutputStream
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class OutputStream
IOException
public void flush() throws IOException
flush
in interface Flushable
flush
in class OutputStream
IOException
public void write(byte[] b) throws IOException
write
in class OutputStream
IOException
public void write(byte[] b, int off, int len) throws IOException
write
in class OutputStream
IOException
public OutputStream getOutputStream()
OutputStream
instance.OutputStream
instance.Copyright © 2000–2020 Apache Software Foundation. All rights reserved.