Package io.undertow.util
Class ParserUtils
- java.lang.Object
-
- io.undertow.util.ParserUtils
-
public final class ParserUtils extends Object
- Author:
- Richard Opalka
-
-
Field Summary
Fields Modifier and Type Field Description static byteAMPERSANDstatic byteASTERISKstatic byteCARRIAGE_RETURNstatic byteCOLONstatic byteCOMMAstatic byteDOTstatic byteEQUALSstatic byteLEFT_SQUARE_BRACKETstatic byteLINE_FEEDstatic bytePERCENTstatic bytePLUSstatic byteQUESTIONstatic byteRIGHT_SQUARE_BRACKETstatic byteSEMICOLONstatic byteSLASHstatic byteSPACE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static intgetMaximumRequestMethodLength()static intgetProtocolLength()static booleanisAlphaChar(byte c)static booleanisDigitChar(byte c)static booleanisDNSNameChar(byte c)static booleanisHexDigitChar(byte c)static booleanisIPv4AddressChar(byte c)static booleanisIPv6AddressChar(byte c)static booleanisObsoleteChar(byte c)static booleanisPathSegmentChar(byte c)static booleanisProtocolChar(byte c, int index)static booleanisRequestTargetChar(byte c)static booleanisSchemeChar(byte c)static booleanisSpaceOrTabChar(byte c)static booleanisTokenChar(byte c)static booleanisVisibleAsciiChar(byte c)
-
-
-
Field Detail
-
AMPERSAND
public static final byte AMPERSAND
- See Also:
- Constant Field Values
-
ASTERISK
public static final byte ASTERISK
- See Also:
- Constant Field Values
-
COLON
public static final byte COLON
- See Also:
- Constant Field Values
-
COMMA
public static final byte COMMA
- See Also:
- Constant Field Values
-
CARRIAGE_RETURN
public static final byte CARRIAGE_RETURN
- See Also:
- Constant Field Values
-
DOT
public static final byte DOT
- See Also:
- Constant Field Values
-
EQUALS
public static final byte EQUALS
- See Also:
- Constant Field Values
-
LEFT_SQUARE_BRACKET
public static final byte LEFT_SQUARE_BRACKET
- See Also:
- Constant Field Values
-
LINE_FEED
public static final byte LINE_FEED
- See Also:
- Constant Field Values
-
PERCENT
public static final byte PERCENT
- See Also:
- Constant Field Values
-
PLUS
public static final byte PLUS
- See Also:
- Constant Field Values
-
QUESTION
public static final byte QUESTION
- See Also:
- Constant Field Values
-
RIGHT_SQUARE_BRACKET
public static final byte RIGHT_SQUARE_BRACKET
- See Also:
- Constant Field Values
-
SEMICOLON
public static final byte SEMICOLON
- See Also:
- Constant Field Values
-
SLASH
public static final byte SLASH
- See Also:
- Constant Field Values
-
SPACE
public static final byte SPACE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getMaximumRequestMethodLength
public static int getMaximumRequestMethodLength()
-
getProtocolLength
public static int getProtocolLength()
-
isRequestTargetChar
public static boolean isRequestTargetChar(byte c)
-
isDNSNameChar
public static boolean isDNSNameChar(byte c)
-
isIPv4AddressChar
public static boolean isIPv4AddressChar(byte c)
-
isIPv6AddressChar
public static boolean isIPv6AddressChar(byte c)
-
isAlphaChar
public static boolean isAlphaChar(byte c)
-
isSchemeChar
public static boolean isSchemeChar(byte c)
-
isTokenChar
public static boolean isTokenChar(byte c)
-
isObsoleteChar
public static boolean isObsoleteChar(byte c)
-
isVisibleAsciiChar
public static boolean isVisibleAsciiChar(byte c)
-
isSpaceOrTabChar
public static boolean isSpaceOrTabChar(byte c)
-
isProtocolChar
public static boolean isProtocolChar(byte c, int index)
-
isPathSegmentChar
public static boolean isPathSegmentChar(byte c)
-
isDigitChar
public static boolean isDigitChar(byte c)
-
isHexDigitChar
public static boolean isHexDigitChar(byte c)
-
-