Package io.micronaut.http.cookie
Class HttpCookieFactory
java.lang.Object
io.micronaut.http.cookie.HttpCookieFactory
- All Implemented Interfaces:
CookieFactory
CookieFactory
implementation backed by HttpCookie
.- Since:
- 4.3.0
- Author:
- Sergio del Amo
-
Field Summary
Fields inherited from interface io.micronaut.http.cookie.CookieFactory
INSTANCE
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
HttpCookieFactory
public HttpCookieFactory()
-
-
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
-