public class StreamWriter extends ChannelWriter
ChannelWriter that write unchuncked bytes.channel, CHUNK_DELIMITER, doneProcessing, END, ENDCHUNK, keepAlive, lastWrite, transformCacheBuffer, writeHeader| Constructor and Description |
|---|
StreamWriter(org.jboss.netty.channel.Channel channel,
boolean writeHeader,
boolean keepAlive) |
| Modifier and Type | Method and Description |
|---|---|
org.atmosphere.cpr.AsyncIOWriter |
asyncWrite(org.atmosphere.cpr.AtmosphereResponse response,
byte[] data,
int offset,
int length) |
void |
close(org.atmosphere.cpr.AtmosphereResponse response) |
constructStatusAndHeaders, isClosed, lastTick, transform, write, write, write, writeErrorpublic StreamWriter(org.jboss.netty.channel.Channel channel,
boolean writeHeader,
boolean keepAlive)
public org.atmosphere.cpr.AsyncIOWriter asyncWrite(org.atmosphere.cpr.AtmosphereResponse response,
byte[] data,
int offset,
int length)
throws IOException
asyncWrite in class ChannelWriterIOExceptionpublic void close(org.atmosphere.cpr.AtmosphereResponse response)
throws IOException
close in interface org.atmosphere.cpr.AsyncIOWriterclose in class org.atmosphere.cpr.AtmosphereInterceptorWriterIOExceptionCopyright © 2015. All Rights Reserved.