| Package | Description |
|---|---|
| org.spincast.core.cookies | |
| org.spincast.core.exchange | |
| org.spincast.core.guice | |
| org.spincast.core.server |
| Modifier and Type | Class and Description |
|---|---|
class |
CookieDefault |
| Modifier and Type | Method and Description |
|---|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
Cookie |
ResponseRequestContextAddon.createCookie(String name)
Creates a cookie using the given name (
null value). |
Cookie |
ResponseRequestContextAddon.getCookieAdded(String name)
Gets a cookie already added to the response, by its name.
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,Cookie> |
ResponseRequestContextAddon.getCookiesAdded()
Gets the cookies already added to the response as a Map,
using their names as the keys.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ResponseRequestContextAddon.addCookie(Cookie cookie)
Adds a cookie.
|
| Modifier and Type | Method and Description |
|---|---|
protected Class<? extends Cookie> |
SpincastCorePluginModule.getCookieImplClass() |
| Modifier and Type | Method and Description |
|---|---|
void |
Server.addCookies(Object exchange,
Map<String,Cookie> cookies)
Adds cookies.
|
Copyright © 2017. All rights reserved.