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
FieldsModifier and TypeFieldDescriptionstatic final ServerCookieDecoderThe defaultServerCookieDecoderinstance. -
Method Summary
-
Field Details
-
INSTANCE
The defaultServerCookieDecoderinstance.
-
-
Method Details
-
decode
Constructs cookies from an HTTP header string.- Parameters:
headerValue- The Set-Cookie header value- Returns:
- a List of Cookies
-