Class LinearWhitespaceSkippingState
- java.lang.Object
-
- org.apache.mina.filter.codec.statemachine.SkippingState
-
- org.apache.mina.filter.codec.statemachine.LinearWhitespaceSkippingState
-
- All Implemented Interfaces:
DecodingState
public abstract class LinearWhitespaceSkippingState extends SkippingState
DecodingStatewhich skips space (0x20) and tab (0x09) characters.- Author:
- Apache MINA Project
-
-
Constructor Summary
Constructors Constructor Description LinearWhitespaceSkippingState()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanSkip(byte b)Called to determine whether the specified byte can be skipped.-
Methods inherited from class org.apache.mina.filter.codec.statemachine.SkippingState
decode, finishDecode, finishDecode
-
-
-
-
Method Detail
-
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.
-
-