All Downloads are FREE. Search and download functionalities are using the official Maven repository.

public.javadoc.org.spincast.core.cookies.CookieFactory.html Maven / Gradle / Ivy

There is a newer version: 2.2.0
Show newest version






CookieFactory (org.spincast:spincast-framework 1.0.0 API)












org.spincast.core.cookies

Interface CookieFactory



  • public interface CookieFactory
    Factory to create cookies.
    • Method Detail

      • createCookie

        Cookie createCookie(String name)
        Creates a cookie using the given name (null value).

        By default, the public host (SpincastConfig.getPublicServerHost()) is uses as the cookie's domain and the cookie is valid for the time of the session only.

      • createCookie

        Cookie createCookie(String name,
                            String value,
                            String path,
                            String domain,
                            Date expires,
                            boolean secure,
                            boolean httpOnly,
                            CookieSameSite cookieSameSite,
                            boolean discard,
                            int version)
        Creates a cookie using all available configurations.

Copyright © 2019. All rights reserved.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy