Class CookieDecoder

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static java.lang.String COMMENT
      Deprecated.
       
      private static java.lang.String COMMENTURL
      Deprecated.
       
      private static java.lang.String DISCARD
      Deprecated.
       
      private static CookieDecoder LAX
      Deprecated.
       
      private InternalLogger logger
      Deprecated.
       
      private static java.lang.String PORT
      Deprecated.
       
      private boolean strict
      Deprecated.
       
      private static CookieDecoder STRICT
      Deprecated.
       
      private static java.lang.String VERSION
      Deprecated.
       
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private CookieDecoder​(boolean strict)
      Deprecated.
       
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      static java.util.Set<Cookie> decode​(java.lang.String header)
      Deprecated.
       
      static java.util.Set<Cookie> decode​(java.lang.String header, boolean strict)
      Deprecated.
       
      private java.util.Set<Cookie> doDecode​(java.lang.String header)
      Deprecated.
      Decodes the specified HTTP header value into Cookies.
      private static void extractKeyValuePairs​(java.lang.String header, java.util.List<java.lang.String> names, java.util.List<java.lang.String> values)
      Deprecated.
       
      private DefaultCookie initCookie​(java.lang.String name, java.lang.String value)
      Deprecated.
       
      • Methods inherited from class java.lang.Object

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

      • CookieDecoder

        private CookieDecoder​(boolean strict)
        Deprecated.
    • Method Detail

      • decode

        public static java.util.Set<Cookie> decode​(java.lang.String header)
        Deprecated.
      • decode

        public static java.util.Set<Cookie> decode​(java.lang.String header,
                                                   boolean strict)
        Deprecated.
      • doDecode

        private java.util.Set<Cookie> doDecode​(java.lang.String header)
        Deprecated.
        Decodes the specified HTTP header value into Cookies.
        Returns:
        the decoded Cookies
      • extractKeyValuePairs

        private static void extractKeyValuePairs​(java.lang.String header,
                                                 java.util.List<java.lang.String> names,
                                                 java.util.List<java.lang.String> values)
        Deprecated.
      • initCookie

        private DefaultCookie initCookie​(java.lang.String name,
                                         java.lang.String value)
        Deprecated.