Package io.micronaut.http.cookie
package io.micronaut.http.cookie
HTTP cookies classes.
- Since:
- 1.0
- Author:
- Graeme Rocher
-
ClassDescriptionEncodes a
Cookie
into a String.An interface representing a Cookie.Comparator
forCookie
.An interface representing the configuration of a Cookie.A CookieFactory createsCookie
instances and should be implemented by a concrete server.Models the definedCookie
instances in an application.ServerCookieDecoder
implementation backed byHttpCookie.parse(String)
.Implementation ofServerCookieEncoder
which usesHttpCookie
to encode cookies.CookieFactory
implementation 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 aCookie
in an HTTP Server.