Class CookieParser

  • public class CookieParser
    extends java.lang.Object

    A parser for "Cookie" headers.

    Class HttpCookie parses "Set-Cookie" headers, which have a different format, and Servlet's Cookie class does not have parsing facilities.

    • Method Summary

      Modifier and Type Method Description
      static java.util.List<> parse​(java.lang.String header)  
      • Methods inherited from class java.lang.Object

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

      • parse

        public static java.util.List<> parse​(java.lang.String header)
                                                         throws java.text.ParseException