public class SimpleCookieFactory extends Object implements CookieFactory
CookieFactory
implementation.
This is the default fallback factory.INSTANCE
Constructor and Description |
---|
SimpleCookieFactory() |
Modifier and Type | Method and Description |
---|---|
Cookie |
create(String name,
String value)
Create a new cookie.
|
public Cookie create(String name, String value)
CookieFactory
create
in interface CookieFactory
name
- The namevalue
- The value