Package org.eclipse.jetty.server
Class CookieCutter
- java.lang.Object
-
- org.eclipse.jetty.server.CookieCutter
-
public class CookieCutter extends Object
Cookie parserOptimized stateful cookie parser. Cookies fields are added with the
addCookieField(String)method and parsed on the next subsequent call togetCookies(). If the added fields are identical to those last added (as strings), then the cookies are not re parsed.
-
-
Constructor Summary
Constructors Constructor Description CookieCutter()CookieCutter(org.eclipse.jetty.http.CookieCompliance compliance)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddCookieField(String f)Cookie[]getCookies()protected voidparseFields()voidreset()voidsetCookies(Cookie[] cookies)
-