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
DecodingState which skips space (0x20) and tab (0x09) characters.
  • 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:
      canSkip in class SkippingState
      Parameters:
      b - the byte to check.
      Returns:
      true if the byte can be skipped.