Package io.micronaut.http.netty.cookies
Class NettyServerCookieEncoder
java.lang.Object
io.micronaut.http.netty.cookies.NettyServerCookieEncoder
- All Implemented Interfaces:
ServerCookieEncoder
ServerCookieEncoder
implementation backed by ServerCookieEncoder
.- Since:
- 4.3.0
- Author:
- Sergio del Amo
-
Field Summary
Fields inherited from interface io.micronaut.http.cookie.ServerCookieEncoder
INSTANCE
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
NettyServerCookieEncoder
public NettyServerCookieEncoder()
-
-
Method Details
-
encode
- Specified by:
encode
in interfaceServerCookieEncoder
- Parameters:
cookies
- Cookies to encode- Returns:
- Returns a string representation for each supplied cookie. The string representation is typically used as the value of the
HttpHeaders.SET_COOKIE
header.
-