| Package | Description |
|---|---|
| org.spincast.core.cookies | |
| org.spincast.core.exchange | |
| org.spincast.plugins.response |
| Modifier and Type | Method and Description |
|---|---|
CookieSameSite |
CookieDefault.getSameSite() |
CookieSameSite |
Cookie.getSameSite()
The "sameSite" attribute.
|
static CookieSameSite |
CookieSameSite.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CookieSameSite[] |
CookieSameSite.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
Cookie |
CookieFactory.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.
|
void |
CookieDefault.setSameSite(CookieSameSite cookieSameSite) |
void |
Cookie.setSameSite(CookieSameSite sameSite)
The "sameSite" attribute to add.
|
| Constructor and Description |
|---|
CookieDefault(String name,
String value,
String path,
String domain,
Date expires,
boolean secure,
boolean httpOnly,
CookieSameSite cookieSameSite,
boolean discard,
int version,
SpincastConfig spincastConfig)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
ResponseRequestContextAddon.setCookie(String name,
String value,
String path,
String domain,
Date expires,
boolean secure,
boolean httpOnly,
CookieSameSite cookieSameSite,
boolean discard,
int version)
Sets a cookie, using all available configurations.
|
| Modifier and Type | Method and Description |
|---|---|
void |
SpincastResponseRequestContextAddon.setCookie(String name,
String value,
String path,
String domain,
Date expires,
boolean secure,
boolean httpOnly,
CookieSameSite cookieSameSite,
boolean discard,
int version) |
Copyright © 2019. All rights reserved.