| Package | Description |
|---|---|
| org.spincast.core.cookies | |
| org.spincast.core.server |
| Modifier and Type | Method and Description |
|---|---|
Cookie |
CookiesRequestContextAddon.createCookie(String name)
Creates a cookie.
|
Cookie |
CookieFactory.createCookie(String name)
Creates a cookie using the given name (
null value). |
Cookie |
CookieFactory.createCookie(String name,
String value)
Creates a cookie using the given name and value.
|
Cookie |
CookieFactory.createCookie(String name,
String value,
String path,
String domain,
Date expires,
boolean secure,
boolean httpOnly,
boolean discard,
int version)
Creates a cookie using all available configurations.
|
Cookie |
CookiesRequestContextAddon.getCookie(String name)
Gets a cookie.
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,Cookie> |
CookiesRequestContextAddon.getCookies()
Gets the current cookies in a Map, using their names as the keys.
|
| Modifier and Type | Method and Description |
|---|---|
void |
CookiesRequestContextAddon.addCookie(Cookie cookie)
Adds a cookie.
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,Cookie> |
Server.getCookies(Object exchange)
Gets the current cookies.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Server.addCookies(Object exchange,
Map<String,Cookie> cookies)
Adds cookies.
|
Copyright © 2017. All rights reserved.