Package io.undertow.util
Class HttpTokens
java.lang.Object
io.undertow.util.HttpTokens
TODO: this should not be required, delete this
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanisValidTokenCharacter(byte c) Returns true if the token character is valid according to rfc7230static voidverifyToken(HttpString header) Verifies that the contents of the HttpString are a valid token according to rfc7230.
-
Constructor Details
-
HttpTokens
public HttpTokens()
-
-
Method Details
-
verifyToken
Verifies that the contents of the HttpString are a valid token according to rfc7230.- Parameters:
header- The header to verify
-
isValidTokenCharacter
public static boolean isValidTokenCharacter(byte c) Returns true if the token character is valid according to rfc7230
-