Package io.micronaut.http.cookie
Interface CookieFactory
- All Known Implementing Classes:
HttpCookieFactory,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 -
Method Summary
-
Field Details
-
INSTANCE
The defaultCookieFactoryinstance.
-
-
Method Details
-
create
Create a new cookie.- Parameters:
name- The namevalue- The value- Returns:
- A Cookie instance
-