## Uses of Interface
io.vertx.core.http.Cookie

- Packages that use Cookie
  Package | Description
  --- | ---
  io.vertx.core.http |
  io.vertx.ext.web |
  io.vertx.reactivex.core.http |
  io.vertx.rxjava.core.http |
  io.vertx.rxjava3.core.http |

- - ### Uses of Cookie in io.vertx.core.http

    Methods in io.vertx.core.http that return Cookie
    Modifier and Type | Method and Description
    --- | ---
    `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

    Methods in io.vertx.core.http that return types with arguments of type Cookie
    Modifier and Type | Method and Description
    --- | ---
    `default Map<String,Cookie>` | HttpServerRequest.`cookieMap()` Deprecated. the implementation made a wrong assumption that cookies could be identified only by their name. The RFC states that the tuple of `<name, domain, path>` is the unique identifier. When more than one cookie has the same name, the map will hold that lost one to be parsed and any previously parsed value will be silently overwritten.
    `Set<Cookie>` | HttpServerRequest.`cookies()` Returns a modifiable set of parsed cookies from the `COOKIE` header.
    `Set<Cookie>` | HttpServerRequest.`cookies(String name)` Returns a read only set of parsed cookies that match the given name, or an empty set.
    `default Set<Cookie>` | HttpServerResponse.`removeCookies(String name)` Expire all cookies, notifying a User Agent to remove it from its cookie jar.
    `Set<Cookie>` | HttpServerResponse.`removeCookies(String name, boolean invalidate)` Remove all cookies from the cookie set.

    Methods in io.vertx.core.http with parameters of type Cookie
    Modifier and Type | Method and Description
    --- | ---
    `HttpServerResponse` | HttpServerResponse.`addCookie(Cookie cookie)` Add a cookie.

  - ### Uses of Cookie in io.vertx.ext.web

    Methods in io.vertx.ext.web that return Cookie
    Modifier and Type | Method and Description
    --- | ---
    `Cookie` | RoutingContext.`getCookie(String name)` Deprecated. Use `HttpServerRequest.getCookie(String)` Get the cookie with the specified name.
    `default Cookie` | RoutingContext.`removeCookie(String name)` Deprecated. Use `HttpServerResponse.removeCookie(String)` Expire a cookie, notifying a User Agent to remove it from its cookie jar.
    `Cookie` | RoutingContext.`removeCookie(String name, boolean invalidate)` Deprecated. Use `HttpServerResponse.removeCookie(String, boolean)` Remove a cookie from the cookie set. If invalidate is true then it will expire a cookie, notifying a User Agent to remove it from its cookie jar.

    Methods in io.vertx.ext.web that return types with arguments of type Cookie
    Modifier and Type | Method and Description
    --- | ---
    `Map<String,Cookie>` | RoutingContext.`cookieMap()` Deprecated. Use `HttpServerRequest.cookieMap()`

    Methods in io.vertx.ext.web with parameters of type Cookie
    Modifier and Type | Method and Description
    --- | ---
    `RoutingContext` | RoutingContext.`addCookie(Cookie cookie)` Deprecated. Use `HttpServerResponse.addCookie(Cookie)` Add a cookie. This will be sent back to the client in the response.

  - ### Uses of Cookie in io.vertx.reactivex.core.http

    Methods in io.vertx.reactivex.core.http that return Cookie
    Modifier and Type | Method and Description
    --- | ---
    `Cookie` | Cookie.`getDelegate()`

    Methods in io.vertx.reactivex.core.http with parameters of type Cookie
    Modifier and Type | Method and Description
    --- | ---
    `static Cookie` | Cookie.`newInstance(Cookie arg)`

    Constructors in io.vertx.reactivex.core.http with parameters of type Cookie
    Constructor and Description
    `Cookie(Cookie delegate)`

  - ### Uses of Cookie in io.vertx.rxjava.core.http

    Methods in io.vertx.rxjava.core.http that return Cookie
    Modifier and Type | Method and Description
    --- | ---
    `Cookie` | Cookie.`getDelegate()`

    Methods in io.vertx.rxjava.core.http with parameters of type Cookie
    Modifier and Type | Method and Description
    --- | ---
    `static Cookie` | Cookie.`newInstance(Cookie arg)`

    Constructors in io.vertx.rxjava.core.http with parameters of type Cookie
    Constructor and Description
    `Cookie(Cookie delegate)`

  - ### Uses of Cookie in io.vertx.rxjava3.core.http

    Methods in io.vertx.rxjava3.core.http that return Cookie
    Modifier and Type | Method and Description
    --- | ---
    `Cookie` | Cookie.`getDelegate()`

    Methods in io.vertx.rxjava3.core.http with parameters of type Cookie
    Modifier and Type | Method and Description
    --- | ---
    `static Cookie` | Cookie.`newInstance(Cookie arg)`

    Constructors in io.vertx.rxjava3.core.http with parameters of type Cookie
    Constructor and Description
    `Cookie(Cookie delegate)`

Copyright © 2025 Eclipse. All rights reserved.