public class CookieCutter extends Object
Optimized stateful Cookie
header parser.
Does not support Set-Cookie
header parsing.
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() |
CookieCutter(CookieCompliance compliance) |
Modifier and Type | Method and Description |
---|---|
void |
addCookieField(String f) |
Cookie[] |
getCookies() |
void |
reset() |
void |
setCookies(Cookie[] cookies) |
public CookieCutter()
public CookieCutter(CookieCompliance compliance)
Copyright © 2010 - 2020 Adobe. All Rights Reserved