static Cookie |
Cookie.cookie(String name,
String value) |
Create a new cookie
|
Cookie |
HttpServerRequest.getCookie(String name) |
Get the cookie with the specified name.
|
Cookie |
HttpServerRequest.getCookie(String name,
String domain,
String path) |
Get the cookie with the specified <name, domain, path>.
|
default Cookie |
HttpServerResponse.removeCookie(String name) |
Expire a cookie, notifying a User Agent to remove it from its cookie jar.
|
Cookie |
HttpServerResponse.removeCookie(String name,
boolean invalidate) |
Remove a cookie from the cookie set.
|
default Cookie |
HttpServerResponse.removeCookie(String name,
String domain,
String path) |
Expires a cookie from the cookie set.
|
Cookie |
HttpServerResponse.removeCookie(String name,
String domain,
String path,
boolean invalidate) |
Remove a cookie from the cookie set.
|
Cookie |
Cookie.setDomain(String domain) |
Sets the domain of this cookie
|
Cookie |
Cookie.setHttpOnly(boolean httpOnly) |
Determines if this cookie is HTTP only.
|
Cookie |
Cookie.setMaxAge(long maxAge) |
Sets the maximum age of this cookie in seconds.
|
Cookie |
Cookie.setPath(String path) |
Sets the path of this cookie.
|
Cookie |
Cookie.setSameSite(CookieSameSite policy) |
Sets the same site of this cookie.
|
Cookie |
Cookie.setSecure(boolean secure) |
Sets the security getStatus of this cookie
|
Cookie |
Cookie.setValue(String value) |
Sets the value of this cookie
|