Class CookieParser
java.lang.Object
org.cometd.server.websocket.common.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<java.net.HttpCookie>
parse(java.lang.String header)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Method Details
-
parse
public static java.util.List<java.net.HttpCookie> parse(java.lang.String header) throws java.text.ParseException- Throws:
java.text.ParseException
-