Class CookieCutter


  • @Deprecated(since="2021-05-27")
    public class CookieCutter
    extends java.lang.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 Detail

      • CookieCutter

        public CookieCutter()
        Deprecated.
      • CookieCutter

        public CookieCutter​(CookieCompliance compliance)
        Deprecated.
    • Method Detail

      • getCookies

        public Cookie[] getCookies()
        Deprecated.
      • setCookies

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

        public void reset()
        Deprecated.
      • addCookieField

        public void addCookieField​(java.lang.String f)
        Deprecated.