public final class ServletOutputStreamTo
extends javax.servlet.ServletOutputStream
Constructor and Description |
---|
ServletOutputStreamTo(OutputStream output)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
flush() |
boolean |
isReady() |
void |
setWriteListener(javax.servlet.WriteListener listener) |
void |
write(int data) |
print, print, print, print, print, print, print, println, println, println, println, println, println, println, println
write, write
public ServletOutputStreamTo(OutputStream output)
output
- The encapsulated OutputStreampublic boolean isReady()
isReady
in class javax.servlet.ServletOutputStream
public void setWriteListener(javax.servlet.WriteListener listener)
setWriteListener
in class javax.servlet.ServletOutputStream
public void write(int data) throws IOException
write
in class OutputStream
IOException
public void flush() throws IOException
flush
in interface Flushable
flush
in class OutputStream
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class OutputStream
IOException
Copyright © 2015–2019 Take. All rights reserved.