Package ca.ubc.ece.flowable.cookie
Class CookieBuilder
- java.lang.Object
-
- ca.ubc.ece.flowable.cookie.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.
-
-
-
Constructor Detail
-
CookieBuilder
public CookieBuilder(java.lang.String name, java.lang.String value)
Constructor for this class.- Parameters:
name
- the name of the cookievalue
- 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 cookievalue
- 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 cookietoken
- 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 cookiestate
- 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 cookienonce
- the nonce value of the cookie
-
-