Class Token


  • class Token
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      Token()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static boolean isSeparator​(char ch)  
      static boolean isValid​(java.lang.String token)
      Check if the given string conforms to the rules described in "2.2 Basic Rules" of RFC 2616.
      static java.lang.String unescape​(java.lang.String text)  
      static java.lang.String unquote​(java.lang.String text)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Token

        Token()
    • Method Detail

      • isValid

        public static boolean isValid​(java.lang.String token)
        Check if the given string conforms to the rules described in "2.2 Basic Rules" of RFC 2616.
      • isSeparator

        public static boolean isSeparator​(char ch)
      • unquote

        public static java.lang.String unquote​(java.lang.String text)
      • unescape

        public static java.lang.String unescape​(java.lang.String text)