Package io.micronaut.http.cookie
Interface CookieFactory
- All Known Implementing Classes:
SimpleCookieFactory
public interface CookieFactory
A CookieFactory creates
Cookie instances and should be implemented by a concrete server.- Since:
- 1.0
-
Field Summary
Fields -
Method Summary
-
Field Details
-
INSTANCE
The defaultCookieFactoryinstance.
-
-
Method Details
-
create
Create a new cookie.- Parameters:
name- The namevalue- The value- Returns:
- A Cookie instance
-