Class HttpTokens

java.lang.Object
io.undertow.util.HttpTokens

public class HttpTokens extends Object
TODO: this should not be required, delete this
  • Constructor Details

    • HttpTokens

      public HttpTokens()
  • Method Details

    • verifyToken

      public static void verifyToken(HttpString header)
      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