Class CookieWrapper

    • Constructor Detail

      • CookieWrapper

        public CookieWrapper​(@NotNull
                             @NotNull jakarta.servlet.http.Cookie c)
        Create new cookie
        Parameters:
        c - Wrapped cookie
    • Method Detail

      • wrap

        public static javax.servlet.http.Cookie[] wrap​(jakarta.servlet.http.Cookie[] array)
        Wrap an array of cookies
        Parameters:
        array - The array
        Returns:
        The result
      • setComment

        public void setComment​(String purpose)
        Overrides:
        setComment in class javax.servlet.http.Cookie
      • setDomain

        public void setDomain​(String domain)
        Overrides:
        setDomain in class javax.servlet.http.Cookie
      • setMaxAge

        public void setMaxAge​(int expiry)
        Overrides:
        setMaxAge in class javax.servlet.http.Cookie
      • setPath

        public void setPath​(String uri)
        Overrides:
        setPath in class javax.servlet.http.Cookie
      • setSecure

        public void setSecure​(boolean flag)
        Overrides:
        setSecure in class javax.servlet.http.Cookie
      • setValue

        public void setValue​(String newValue)
        Overrides:
        setValue in class javax.servlet.http.Cookie
      • setVersion

        public void setVersion​(int v)
        Overrides:
        setVersion in class javax.servlet.http.Cookie
      • setHttpOnly

        public void setHttpOnly​(boolean isHttpOnly)
        Overrides:
        setHttpOnly in class javax.servlet.http.Cookie