org.littleshoot.proxy
Interface CachedHttpChunks
- All Known Implementing Classes:
- DefaultCachedHttpChunks
public interface CachedHttpChunks
Interface for classes that fetch HTTP chunks from a cache. This is tricky
because HTTP chunks typically indicate large response bodies, and if we're
not careful we can quickly cause the VM to run out of memory.
|
Method Summary |
void |
cache(org.jboss.netty.handler.codec.http.HttpChunk chunk,
org.jboss.netty.buffer.ChannelBuffer encoded)
|
boolean |
isComplete()
|
boolean |
writeAllChunks(org.jboss.netty.channel.Channel channel)
|
isComplete
boolean isComplete()
writeAllChunks
boolean writeAllChunks(org.jboss.netty.channel.Channel channel)
cache
void cache(org.jboss.netty.handler.codec.http.HttpChunk chunk,
org.jboss.netty.buffer.ChannelBuffer encoded)
Copyright © 2009-2013 LittleShoot. All Rights Reserved.