rabbit.httpio
Class ChunkHandler

java.lang.Object
  extended by rabbit.httpio.ChunkHandler

public class ChunkHandler
extends Object

The chunk handler gets raw data buffers and passes the de-chunked content to the listener.

Author:
Robert Olofsson

Constructor Summary
ChunkHandler(ChunkDataFeeder feeder, boolean strictHttp)
           
 
Method Summary
 long getTotalRead()
           
 void handleData(BufferHandle bufHandle)
           
 void setBlockListener(BlockListener listener)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChunkHandler

public ChunkHandler(ChunkDataFeeder feeder,
                    boolean strictHttp)
Method Detail

setBlockListener

public void setBlockListener(BlockListener listener)

getTotalRead

public long getTotalRead()

handleData

public void handleData(BufferHandle bufHandle)