Class SimpleCookieFactory

  • All Implemented Interfaces:
    CookieFactory

    public class SimpleCookieFactory
    extends java.lang.Object
    implements CookieFactory
    Simple CookieFactory implementation. This is the default fallback factory.
    Since:
    1.0
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Cookie create​(java.lang.String name, java.lang.String value)
      Create a new cookie.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SimpleCookieFactory

        public SimpleCookieFactory()
    • Method Detail

      • create

        public Cookie create​(java.lang.String name,
                             java.lang.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