Class CookieBuilder


  • public class CookieBuilder
    extends java.lang.Object
    Class for creating cookies.
    • Constructor Summary

      Constructors 
      Constructor Description
      CookieBuilder​(java.lang.String name, com.nimbusds.oauth2.sdk.id.State state)
      Constructor for this class.
      CookieBuilder​(java.lang.String name, com.nimbusds.openid.connect.sdk.Nonce nonce)
      Constructor for this class.
      CookieBuilder​(java.lang.String name, java.lang.Boolean value)
      Constructor for this class.
      CookieBuilder​(java.lang.String name, java.lang.String value)
      Constructor for this class.
      CookieBuilder​(java.lang.String name, org.flowable.idm.api.Token token)
      Constructor for this class.
    • Method Summary

      Modifier and Type Method Description
      javax.servlet.http.Cookie build()
      Create the cookie.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CookieBuilder

        public CookieBuilder​(java.lang.String name,
                             java.lang.String value)
        Constructor for this class.
        Parameters:
        name - the name of the cookie
        value - the value of the cookie
      • CookieBuilder

        public CookieBuilder​(java.lang.String name,
                             java.lang.Boolean value)
        Constructor for this class.
        Parameters:
        name - the name of the cookie
        value - the boolean value of the cookie
      • CookieBuilder

        public CookieBuilder​(java.lang.String name,
                             org.flowable.idm.api.Token token)
        Constructor for this class.
        Parameters:
        name - the name of the cookie
        token - the token value of the cookie
      • CookieBuilder

        public CookieBuilder​(java.lang.String name,
                             com.nimbusds.oauth2.sdk.id.State state)
        Constructor for this class.
        Parameters:
        name - the name of the cookie
        state - the state value of the cookie
      • CookieBuilder

        public CookieBuilder​(java.lang.String name,
                             com.nimbusds.openid.connect.sdk.Nonce nonce)
        Constructor for this class.
        Parameters:
        name - the name of the cookie
        nonce - the nonce value of the cookie
    • Method Detail

      • build

        public javax.servlet.http.Cookie build()
        Create the cookie.
        Returns:
        the cookie