Package | Description |
---|---|
io.undertow.server | |
io.undertow.server.handlers | |
io.undertow.servlet.spec | |
io.undertow.util |
Modifier and Type | Method and Description |
---|---|
Cookie |
HttpServerExchange.getRequestCookie(String name) |
Modifier and Type | Method and 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 and 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 and Description |
---|---|
class |
CookieImpl |
Modifier and Type | Method and 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 | Class and Description |
---|---|
class |
ServletCookieAdaptor
Adaptor between and undertow and a servlet cookie
|
Modifier and Type | Method and Description |
---|---|
Cookie |
ServletCookieAdaptor.setComment(String comment) |
Cookie |
ServletCookieAdaptor.setDiscard(boolean discard) |
Cookie |
ServletCookieAdaptor.setDomain(String domain) |
Cookie |
ServletCookieAdaptor.setExpires(Date expires) |
Cookie |
ServletCookieAdaptor.setHttpOnly(boolean httpOnly) |
Cookie |
ServletCookieAdaptor.setMaxAge(Integer maxAge) |
Cookie |
ServletCookieAdaptor.setPath(String path) |
Cookie |
ServletCookieAdaptor.setSameSite(boolean sameSite) |
Cookie |
ServletCookieAdaptor.setSameSiteMode(String mode) |
Cookie |
ServletCookieAdaptor.setSecure(boolean secure) |
Cookie |
ServletCookieAdaptor.setValue(String value) |
Cookie |
ServletCookieAdaptor.setVersion(int version) |
Modifier and Type | Method and Description |
---|---|
static Cookie |
Cookies.parseSetCookieHeader(String headerValue)
Parses a "Set-Cookie:" response header value into its cookie representation.
|
Modifier and Type | Method and Description |
---|---|
static Map<String,Cookie> |
Cookies.parseRequestCookies(int maxCookies,
boolean allowEqualInValue,
List<String> cookies)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static int |
LegacyCookieSupport.adjustedCookieVersion(Cookie cookie) |
Modifier and Type | Method and Description |
---|---|
static void |
Cookies.parseRequestCookies(int maxCookies,
boolean allowEqualInValue,
List<String> cookies,
Set<Cookie> parsedCookies) |
Copyright © 2021 JBoss by Red Hat. All rights reserved.