ch.mimo.netty.handler.codec.icap
Class SizeDelimiter
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SizeDelimiter
public SizeDelimiter(int limit)
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.