Package io.micronaut.http.cookie
Interface ServerCookieDecoder
- All Known Implementing Classes:
DefaultServerCookieDecoder
,NettyLaxServerCookieDecoder
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Constructs cookies from an HTTP header string.
- Since:
- 4.3.0
- Author:
- Sergio del Amo
-
Field Summary
Modifier and TypeFieldDescriptionstatic final ServerCookieDecoder
The defaultServerCookieDecoder
instance. -
Method Summary
-
Field Details
-
INSTANCE
The defaultServerCookieDecoder
instance.
-
-
Method Details
-
decode
Constructs cookies from an HTTP header string.- Parameters:
headerValue
- The Set-Cookie header value- Returns:
- a List of Cookies
-