org.littleshoot.proxy
Class DefaultCachedHttpChunks

java.lang.Object
  extended by org.littleshoot.proxy.DefaultCachedHttpChunks
All Implemented Interfaces:
CachedHttpChunks

public class DefaultCachedHttpChunks
extends Object
implements CachedHttpChunks

Class that keeps track of the cached HTTP chunks for a single HTTP response.


Constructor Summary
DefaultCachedHttpChunks()
           
 
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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultCachedHttpChunks

public DefaultCachedHttpChunks()
Method Detail

isComplete

public boolean isComplete()
Specified by:
isComplete in interface CachedHttpChunks

writeAllChunks

public boolean writeAllChunks(org.jboss.netty.channel.Channel channel)
Specified by:
writeAllChunks in interface CachedHttpChunks

cache

public void cache(org.jboss.netty.handler.codec.http.HttpChunk chunk,
                  org.jboss.netty.buffer.ChannelBuffer encoded)
Specified by:
cache in interface CachedHttpChunks


Copyright © 2009-2013 LittleShoot. All Rights Reserved.