| 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.
|
| Modifier and Type | Class and Description |
|---|---|
class |
Cookie |
| Modifier and Type | Method and Description |
|---|---|
ICookie |
SpincastCookiesRequestContextAddon.getCookie(String name) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,ICookie> |
SpincastCookiesRequestContextAddon.getCookies() |
| Modifier and Type | Method and Description |
|---|---|
void |
SpincastCookiesRequestContextAddon.addCookie(ICookie cookie) |
protected void |
SpincastCookiesRequestContextAddon.deleteCookie(ICookie cookie) |
protected boolean |
SpincastCookiesRequestContextAddon.validateCookie(ICookie cookie) |
| Modifier and Type | Method and Description |
|---|---|
ICookie |
SpincastHttpResponse.getCookie(String name) |
ICookie |
IHttpResponse.getCookie(String name)
Gets a cookie.
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,ICookie> |
SpincastHttpResponse.getCookies() |
Map<String,ICookie> |
IHttpResponse.getCookies()
Gets the cookies.
|
| Modifier and Type | Method and Description |
|---|---|
T |
IHttpRequestBuilder.addCookie(ICookie cookie)
Adds a cookie.
|
| Modifier and Type | Method and Description |
|---|---|
T |
IHttpRequestBuilder.addCookies(Collection<ICookie> cookies)
Adds some cookies.
|
IHttpResponse |
IHttpResponseFactory.create(int status,
String contentType,
byte[] content,
Map<String,List<String>> headers,
Map<String,ICookie> cookies,
boolean wasZipped) |
| Constructor and Description |
|---|
SpincastHttpResponse(int status,
String contentType,
byte[] content,
Map<String,List<String>> headers,
Map<String,ICookie> cookies,
boolean wasZipped) |
| Modifier and Type | Method and Description |
|---|---|
T |
SpincastHttpRequestBuilderBase.addCookie(ICookie cookie) |
protected org.spincast.shaded.org.apache.http.cookie.Cookie |
SpincastHttpRequestBuilderBase.convertToApacheCookie(ICookie cookie)
Converts a Spincast cookie to an Apache one.
|
| Modifier and Type | Method and Description |
|---|---|
T |
SpincastHttpRequestBuilderBase.addCookies(Collection<ICookie> cookies) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,ICookie> |
SpincastUndertowServer.getCookies(Object exchange) |
| Modifier and Type | Method and Description |
|---|---|
void |
SpincastUndertowServer.addCookies(Object exchange,
Map<String,ICookie> cookies) |
Copyright © 2016. All rights reserved.