java.lang.Object
cloud.piranha.webapp.impl.CookieParser
public class CookieParser
extends java.lang.Object
The Cookie parser
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Method Details
-
parse
Parse the Cookie header- Parameters:
cookieValues
- the Cookie header, without "Cookie:"- Returns:
- the
Cookie
array - Throws:
java.lang.NullPointerException
- if cookieValues is nulljava.lang.IllegalArgumentException
- if some cookie contains a illegal character
-