public class ChunkedWriter extends ChannelWriter
ChannelWriterchannel, CHUNK_DELIMITER, CRLF, doneProcessing, ENDCHUNK, keepAlive, lastWrite, transformCacheBuffer, writeHeader| Constructor and Description |
|---|
ChunkedWriter(io.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 ChunkedWriter(io.netty.channel.Channel channel,
boolean writeHeader,
boolean keepAlive)
public void close(org.atmosphere.cpr.AtmosphereResponse response)
throws java.io.IOException
close in interface org.atmosphere.cpr.AsyncIOWriterclose in class org.atmosphere.cpr.AtmosphereInterceptorWriterjava.io.IOExceptionpublic org.atmosphere.cpr.AsyncIOWriter asyncWrite(org.atmosphere.cpr.AtmosphereResponse response,
byte[] data,
int offset,
int length)
throws java.io.IOException
asyncWrite in class ChannelWriterjava.io.IOExceptionCopyright © 2018. All Rights Reserved.