org.atmosphere.nettosphere
Class ChunkedWriter
java.lang.Object
org.atmosphere.cpr.AsyncIOWriterAdapter
org.atmosphere.cpr.AtmosphereInterceptorWriter
org.atmosphere.nettosphere.ChannelWriter
org.atmosphere.nettosphere.ChunkedWriter
- All Implemented Interfaces:
- org.atmosphere.cpr.AsyncIOWriter
public class ChunkedWriter
- extends ChannelWriter
An chunk based ChannelWriter
| Fields inherited from class org.atmosphere.cpr.AtmosphereInterceptorWriter |
filters, reversedFilters |
|
Constructor Summary |
ChunkedWriter(org.jboss.netty.channel.Channel channel,
boolean writeHeader,
boolean keepAlive,
ChannelBufferPool channelBufferPool)
|
|
Method Summary |
org.atmosphere.cpr.AsyncIOWriter |
asyncWrite(org.atmosphere.cpr.AtmosphereResponse response,
byte[] data,
int offset,
int length)
|
void |
close(org.atmosphere.cpr.AtmosphereResponse response)
|
| Methods inherited from class org.atmosphere.cpr.AtmosphereInterceptorWriter |
filters, flush, interceptor, invokeInterceptor, redirect, writeReady |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ChunkedWriter
public ChunkedWriter(org.jboss.netty.channel.Channel channel,
boolean writeHeader,
boolean keepAlive,
ChannelBufferPool channelBufferPool)
close
public void close(org.atmosphere.cpr.AtmosphereResponse response)
throws IOException
- Specified by:
close in interface org.atmosphere.cpr.AsyncIOWriter- Overrides:
close in class org.atmosphere.cpr.AtmosphereInterceptorWriter
- Throws:
IOException
asyncWrite
public org.atmosphere.cpr.AsyncIOWriter asyncWrite(org.atmosphere.cpr.AtmosphereResponse response,
byte[] data,
int offset,
int length)
throws IOException
- Specified by:
asyncWrite in class ChannelWriter
- Throws:
IOException
Copyright © 2014. All Rights Reserved.