Interface CookieFactory

All Known Implementing Classes:
NettyCookieFactory, SimpleCookieFactory

public interface CookieFactory
A CookieFactory creates Cookie instances and should be implemented by a concrete server.
Since:
1.0
Author:
Graeme Rocher
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final CookieFactory
    The default CookieFactory instance.
  • Method Summary

    Modifier and Type
    Method
    Description
    create(String name, String value)
    Create a new cookie.
  • Field Details

  • Method Details

    • create

      Cookie create(String name, String value)
      Create a new cookie.
      Parameters:
      name - The name
      value - The value
      Returns:
      A Cookie instance