ch.mimo.netty.handler.codec.icap
Class SizeDelimiter

java.lang.Object
  extended by ch.mimo.netty.handler.codec.icap.SizeDelimiter

public class SizeDelimiter
extends Object

This class is used to track the size in bytes of headers.

Author:
Michael Mimo Moratti (mimo@mimo.ch)
See Also:
IcapDecoderUtil, ReadTrailingHeadersState

Constructor Summary
SizeDelimiter(int limit)
           
 
Method Summary
 int getSize()
           
 void increment()
           
 void increment(int count)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SizeDelimiter

public SizeDelimiter(int limit)
Method Detail

increment

public void increment(int count)
               throws DecodingException
Throws:
DecodingException

increment

public void increment()
               throws DecodingException
Throws:
DecodingException

getSize

public int getSize()


Copyright © 2011. All Rights Reserved.