rabbit.proxy
Class MultiPartPipe

java.lang.Object
  extended by rabbit.proxy.MultiPartPipe

public class MultiPartPipe
extends Object

A class that reads multipart data from one channel and writes it to the other channel.

Author:
Robert Olofsson

Constructor Summary
MultiPartPipe(String ctHeader)
           
 
Method Summary
 boolean isFinished()
           
 void parseBuffer(ByteBuffer buf)
          Parse the buffer, will set the position and the limit.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MultiPartPipe

public MultiPartPipe(String ctHeader)
Method Detail

parseBuffer

public void parseBuffer(ByteBuffer buf)
                 throws IOException
Parse the buffer, will set the position and the limit.

Throws:
IOException

isFinished

public boolean isFinished()