Package io.micronaut.http.cookie
package io.micronaut.http.cookie
HTTP cookies classes.
- Since:
- 1.0
- Author:
- Graeme Rocher
-
ClassDescriptionEncodes a
Cookieinto a String.An interface representing a Cookie.ComparatorforCookie.An interface representing the configuration of a Cookie.A CookieFactory createsCookieinstances and should be implemented by a concrete server.Models the definedCookieinstances in an application.ServerCookieDecoderimplementation backed byHttpCookie.parse(String).Implementation ofServerCookieEncoderwhich usesHttpCookieto encode cookies.CookieFactoryimplementation backed byHttpCookie.Asserts that a cookie must not be sent with cross-origin requests, providing some protection against cross-site request forgery attacks (CSRF).Constructs cookies from an HTTP header string.API to encode aCookiein an HTTP Server.