Class SimpleCookieFactory

java.lang.Object
io.micronaut.http.simple.cookies.SimpleCookieFactory
All Implemented Interfaces:
CookieFactory

public class SimpleCookieFactory extends Object implements CookieFactory
Simple CookieFactory implementation. This is the default fallback factory.
Since:
1.0
Author:
Vladimir Orany
  • Constructor Details

    • SimpleCookieFactory

      public SimpleCookieFactory()
  • 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