Class CookieCutter

java.lang.Object
org.eclipse.jetty.server.CookieCutter

@Deprecated(since="2021-05-27") public class CookieCutter extends Object
Deprecated.
The Eclipse Jetty and Apache Felix Http Jetty packages are no longer supported.
Cookie parser

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 Details

    • CookieCutter

      public CookieCutter()
      Deprecated.
    • CookieCutter

      public CookieCutter(CookieCompliance compliance)
      Deprecated.
  • Method Details

    • getCookies

      public Cookie[] getCookies()
      Deprecated.
    • setCookies

      public void setCookies(Cookie[] cookies)
      Deprecated.
    • reset

      public void reset()
      Deprecated.
    • addCookieField

      public void addCookieField(String f)
      Deprecated.