Class LinearWhitespaceSkippingState
java.lang.Object
org.apache.mina.filter.codec.statemachine.SkippingState
org.apache.mina.filter.codec.statemachine.LinearWhitespaceSkippingState
- All Implemented Interfaces:
DecodingState
DecodingState which skips space (0x20) and tab (0x09) characters.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleancanSkip(byte b) Called to determine whether the specified byte can be skipped.Methods inherited from class SkippingState
decode, finishDecode, finishDecode
-
Constructor Details
-
LinearWhitespaceSkippingState
public LinearWhitespaceSkippingState()
-
-
Method Details
-
canSkip
protected boolean canSkip(byte b) Called to determine whether the specified byte can be skipped.- Specified by:
canSkipin classSkippingState- Parameters:
b- the byte to check.- Returns:
trueif the byte can be skipped.
-