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