public class CookieCutter
extends java.lang.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(java.lang.String f) |
javax.servlet.http.Cookie[] |
getCookies() |
protected void |
parseFields() |
void |
reset() |
void |
setCookies(javax.servlet.http.Cookie[] cookies) |
Copyright © 2013 FuseSource, Corp.. All Rights Reserved.