| Package | Description |
|---|---|
| io.vertx.core.http | |
| io.vertx.core.http.impl | |
| io.vertx.ext.web | |
| io.vertx.ext.web.impl | |
| io.vertx.reactivex.core.http | |
| io.vertx.rxjava.core.http |
| Modifier and Type | Method and Description |
|---|---|
static Cookie |
Cookie.cookie(String name,
String value)
Create a new cookie
|
default Cookie |
HttpServerRequest.getCookie(String name)
Get the cookie with the specified name.
|
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.
|
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
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,Cookie> |
HttpServerRequest.cookieMap() |
| Modifier and Type | Method and Description |
|---|---|
HttpServerResponse |
HttpServerResponse.addCookie(Cookie cookie)
Add a cookie.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
ServerCookie
Add specific state for managing the cookie on the server
|
| Modifier and Type | Class and Description |
|---|---|
class |
CookieImpl
Vert.x cookie implementation
|
| Modifier and Type | Method and Description |
|---|---|
Cookie |
Http1xServerResponse.removeCookie(String name,
boolean invalidate) |
Cookie |
Http2ServerResponse.removeCookie(String name,
boolean invalidate) |
Cookie |
CookieImpl.setDomain(String domain) |
Cookie |
CookieImpl.setHttpOnly(boolean httpOnly) |
Cookie |
CookieImpl.setMaxAge(long maxAge) |
Cookie |
CookieImpl.setPath(String path) |
Cookie |
CookieImpl.setSameSite(CookieSameSite sameSite) |
Cookie |
CookieImpl.setSecure(boolean secure) |
Cookie |
CookieImpl.setValue(String value) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,Cookie> |
Http1xServerRequest.cookieMap() |
Map<String,Cookie> |
Http2ServerRequest.cookieMap() |
| Modifier and Type | Method and Description |
|---|---|
HttpServerResponse |
Http1xServerResponse.addCookie(Cookie cookie) |
HttpServerResponse |
Http2ServerResponse.addCookie(Cookie cookie) |
| Modifier and Type | Method and Description |
|---|---|
Cookie |
RoutingContext.getCookie(String name)
Get the cookie with the specified name.
|
default Cookie |
RoutingContext.removeCookie(String name)
Expire a cookie, notifying a User Agent to remove it from its cookie jar.
|
Cookie |
RoutingContext.removeCookie(String name,
boolean invalidate)
Remove a cookie from the cookie set.
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,Cookie> |
RoutingContext.cookieMap() |
| Modifier and Type | Method and Description |
|---|---|
RoutingContext |
RoutingContext.addCookie(Cookie cookie)
Add a cookie.
|
| Modifier and Type | Method and Description |
|---|---|
Cookie |
RoutingContextWrapper.getCookie(String name) |
Cookie |
RoutingContextImpl.getCookie(String name) |
Cookie |
RoutingContextDecorator.getCookie(String name) |
Cookie |
RoutingContextWrapper.removeCookie(String name,
boolean invalidate) |
Cookie |
RoutingContextImpl.removeCookie(String name,
boolean invalidate) |
Cookie |
RoutingContextDecorator.removeCookie(String name,
boolean invalidate) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,Cookie> |
RoutingContextWrapper.cookieMap() |
Map<String,Cookie> |
RoutingContextImpl.cookieMap() |
Map<String,Cookie> |
RoutingContextDecorator.cookieMap() |
| Modifier and Type | Method and Description |
|---|---|
RoutingContext |
RoutingContextWrapper.addCookie(Cookie cookie) |
RoutingContext |
RoutingContextImpl.addCookie(Cookie cookie) |
RoutingContext |
RoutingContextDecorator.addCookie(Cookie cookie) |
| Modifier and Type | Method and Description |
|---|---|
Cookie |
Cookie.getDelegate() |
| Modifier and Type | Method and Description |
|---|---|
static Cookie |
Cookie.newInstance(Cookie arg) |
| Constructor and Description |
|---|
Cookie(Cookie delegate) |
| Modifier and Type | Method and Description |
|---|---|
Cookie |
Cookie.getDelegate() |
| Modifier and Type | Method and Description |
|---|---|
static Cookie |
Cookie.newInstance(Cookie arg) |
| Constructor and Description |
|---|
Cookie(Cookie delegate) |
Copyright © 2021. All rights reserved.