org.littleshoot.util.mina
Class ConsumeToLinearWhitespaceDecodingState

java.lang.Object
  extended by org.littleshoot.util.mina.ConsumeToTerminatorDecodingState
      extended by org.littleshoot.util.mina.ConsumeToLinearWhitespaceDecodingState
All Implemented Interfaces:
DecodingState

public abstract class ConsumeToLinearWhitespaceDecodingState
extends ConsumeToTerminatorDecodingState

Consumes a ByteBuffer up to linear whitespace.

Taken from the AsyncWeb project.


Constructor Summary
ConsumeToLinearWhitespaceDecodingState()
          Creates a new LWS decoding state.
 
Method Summary
 
Methods inherited from class org.littleshoot.util.mina.ConsumeToTerminatorDecodingState
decode, finishDecode
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConsumeToLinearWhitespaceDecodingState

public ConsumeToLinearWhitespaceDecodingState()
Creates a new LWS decoding state. This only checks for a single space because that's what SIP typically requires.



Copyright © 2013 LittleShoot. All Rights Reserved.