public class CookieCutter extends Object
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.
Constructor and Description |
---|
CookieCutter() |
Modifier and Type | Method and Description |
---|---|
void |
addCookieField(String f) |
Cookie[] |
getCookies() |
protected void |
parseFields() |
void |
reset() |
void |
setCookies(Cookie[] cookies) |
Copyright © 1995-2013 Mort Bay Consulting. All Rights Reserved.