| Package | Description |
|---|---|
| io.undertow.server | |
| io.undertow.server.handlers | |
| io.undertow.util |
| Modifier and Type | Method | Description |
|---|---|---|
Cookie |
HttpServerExchange.getRequestCookie(String name) |
| Modifier and Type | Method | Description |
|---|---|---|
Map<String,Cookie> |
HttpServerExchange.getRequestCookies()
Deprecated.
use either
HttpServerExchange.requestCookies() or HttpServerExchange.getRequestCookie(String) or HttpServerExchange.setRequestCookie(Cookie) methods instead |
|
Map<String,Cookie> |
HttpServerExchange.getResponseCookies()
Deprecated.
use either
HttpServerExchange.responseCookies() or HttpServerExchange.setResponseCookie(Cookie) methods instead |
|
Iterable<Cookie> |
HttpServerExchange.requestCookies()
Returns unmodifiable enumeration of request cookies.
|
|
Iterable<Cookie> |
HttpServerExchange.responseCookies()
Returns unmodifiable enumeration of response cookies.
|
| Modifier and Type | Method | Description |
|---|---|---|
static void |
Connectors.addCookie(HttpServerExchange exchange,
Cookie cookie)
Adds the cookie into the response header map.
|
|
HttpServerExchange |
HttpServerExchange.setRequestCookie(Cookie cookie)
Sets a request cookie
|
|
HttpServerExchange |
HttpServerExchange.setResponseCookie(Cookie cookie)
Sets a response cookie
|
| Modifier and Type | Class | Description |
|---|---|---|
class |
CookieImpl |
| Modifier and Type | Method | Description |
|---|---|---|
Cookie |
CookieImpl.setComment(String comment) |
|
Cookie |
Cookie.setComment(String comment) |
|
Cookie |
Cookie.setDiscard(boolean discard) |
|
Cookie |
Cookie.setDomain(String domain) |
|
Cookie |
Cookie.setExpires(Date expires) |
|
Cookie |
Cookie.setHttpOnly(boolean httpOnly) |
|
Cookie |
Cookie.setMaxAge(Integer maxAge) |
|
Cookie |
Cookie.setPath(String path) |
|
Cookie |
CookieImpl.setSameSite(boolean sameSite) |
|
default Cookie |
Cookie.setSameSite(boolean sameSite) |
|
Cookie |
CookieImpl.setSameSiteMode(String mode) |
|
default Cookie |
Cookie.setSameSiteMode(String mode) |
|
Cookie |
Cookie.setSecure(boolean secure) |
|
Cookie |
Cookie.setValue(String value) |
|
Cookie |
Cookie.setVersion(int version) |
| Modifier and Type | Method | Description |
|---|---|---|
static Cookie |
Cookies.parseSetCookieHeader(String headerValue)
Parses a "Set-Cookie:" response header value into its cookie representation.
|
| Modifier and Type | Method | Description |
|---|---|---|
static Map<String,Cookie> |
Cookies.parseRequestCookies(int maxCookies,
boolean allowEqualInValue,
List<String> cookies)
Deprecated.
|
| Modifier and Type | Method | Description |
|---|---|---|
static int |
LegacyCookieSupport.adjustedCookieVersion(Cookie cookie) |
| Modifier and Type | Method | Description |
|---|---|---|
static void |
Cookies.parseRequestCookies(int maxCookies,
boolean allowEqualInValue,
List<String> cookies,
Set<Cookie> parsedCookies) |
Copyright © 2026 JBoss by Red Hat. All rights reserved.