Package io.micronaut.http.simple.cookies
Class SimpleCookieFactory
java.lang.Object
io.micronaut.http.simple.cookies.SimpleCookieFactory
- All Implemented Interfaces:
CookieFactory
Simple
CookieFactory
implementation.
This is the default fallback factory.- Since:
- 1.0
- Author:
- Vladimir Orany
-
Field Summary
Fields inherited from interface io.micronaut.http.cookie.CookieFactory
INSTANCE
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
SimpleCookieFactory
public SimpleCookieFactory()
-
-
Method Details
-
create
Description copied from interface:CookieFactory
Create a new cookie.- Specified by:
create
in interfaceCookieFactory
- Parameters:
name
- The namevalue
- The value- Returns:
- A Cookie instance
-