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