Class NettyCookieFactory

java.lang.Object
io.micronaut.http.netty.cookies.NettyCookieFactory
All Implemented Interfaces:
CookieFactory

public class NettyCookieFactory extends Object implements CookieFactory
A CookieFactory for constructing Cookie instances for Netty.
Since:
1.0
Author:
Graeme Rocher
  • Constructor Details

    • NettyCookieFactory

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