java.io.Closeable, java.io.Flushable, java.lang.AutoCloseablepublic class UpgradeServletOutputStream
extends javax.servlet.ServletOutputStream
ServletOutputStreamImpl
as it does no buffering, and it not tied to an exchange.| Modifier | Constructor | Description |
|---|---|---|
protected |
UpgradeServletOutputStream(org.xnio.channels.StreamSinkChannel channel,
java.util.concurrent.Executor ioExecutor) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
close() |
|
void |
flush() |
|
boolean |
isReady() |
|
void |
setWriteListener(javax.servlet.WriteListener writeListener) |
|
void |
write(byte[] b) |
|
void |
write(byte[] b,
int off,
int len) |
|
void |
write(int b) |
protected UpgradeServletOutputStream(org.xnio.channels.StreamSinkChannel channel,
java.util.concurrent.Executor ioExecutor)
public void write(byte[] b)
throws java.io.IOException
write in class java.io.OutputStreamjava.io.IOExceptionpublic void write(byte[] b,
int off,
int len)
throws java.io.IOException
write in class java.io.OutputStreamjava.io.IOExceptionpublic void write(int b)
throws java.io.IOException
write in class java.io.OutputStreamjava.io.IOExceptionpublic void flush()
throws java.io.IOException
flush in interface java.io.Flushableflush in class java.io.OutputStreamjava.io.IOExceptionpublic void close()
throws java.io.IOException
close in interface java.lang.AutoCloseableclose in interface java.io.Closeableclose in class java.io.OutputStreamjava.io.IOExceptionpublic boolean isReady()
isReady in class javax.servlet.ServletOutputStreampublic void setWriteListener(javax.servlet.WriteListener writeListener)
setWriteListener in class javax.servlet.ServletOutputStreamCopyright © 2018. All rights reserved.