Class HttpCookieFactory

java.lang.Object
io.micronaut.http.cookie.HttpCookieFactory
All Implemented Interfaces:
CookieFactory

@Internal public final class HttpCookieFactory extends Object implements CookieFactory
CookieFactory implementation backed by HttpCookie.
Since:
4.3.0
Author:
Sergio del Amo
  • Constructor Details

    • HttpCookieFactory

      public HttpCookieFactory()
  • Method Details

    • create

      public Cookie create(String name, String value)
      Description copied from interface: CookieFactory
      Create a new cookie.
      Specified by:
      create in interface CookieFactory
      Parameters:
      name - The name
      value - The value
      Returns:
      A Cookie instance