Package io.micronaut.http.cookie
Class DefaultServerCookieDecoder
java.lang.Object
io.micronaut.http.cookie.DefaultServerCookieDecoder
- All Implemented Interfaces:
ServerCookieDecoder
@Internal
public final class DefaultServerCookieDecoder
extends Object
implements ServerCookieDecoder
ServerCookieDecoder
implementation backed by HttpCookie.parse(String)
.- Since:
- 4.3.0
- Author:
- Sergio del Amo
-
Field Summary
Fields inherited from interface io.micronaut.http.cookie.ServerCookieDecoder
INSTANCE
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
DefaultServerCookieDecoder
public DefaultServerCookieDecoder()
-
-
Method Details
-
decode
Description copied from interface:ServerCookieDecoder
Constructs cookies from an HTTP header string.- Specified by:
decode
in interfaceServerCookieDecoder
- Parameters:
header
- The Set-Cookie header value- Returns:
- a List of Cookies
-