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