org.mortbay.jetty
Class CookieCutter
java.lang.Object
org.mortbay.jetty.CookieCutter
public class CookieCutter
- extends Object
Cookie parser
Optimized stateful cookie parser. Cookies fields are added with the
addCookieField(String)
method and parsed on the next subsequent
call to getCookies()
.
If the added fields are identical to those last added (as strings), then the
cookies are not re parsed.
- Author:
- gregw
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CookieCutter
public CookieCutter()
getCookies
public Cookie[] getCookies()
setCookies
public void setCookies(Cookie[] cookies)
reset
public void reset()
addCookieField
public void addCookieField(String f)
parseFields
protected void parseFields()
Copyright © 2008 Mort Bay Consulting. All Rights Reserved.