Interface CookieDecoder
- All Superinterfaces:
io.micronaut.core.order.Ordered
- All Known Implementing Classes:
CompositeCookieDecoder,DefaultCookieDecoder,NettyCookieDecoder
public interface CookieDecoder
extends io.micronaut.core.order.Ordered
Interface to allow cookie decoding.
- Since:
- 4.0.0
-
Field Summary
Fields inherited from interface io.micronaut.core.order.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
Method Summary
Methods inherited from interface io.micronaut.core.order.Ordered
getOrder
-
Method Details
-
decode
@NonNull @NonNull Optional<io.micronaut.http.cookie.Cookies> decode(io.micronaut.http.HttpRequest<?> request) Decode the cookies from the request.- Parameters:
request- the request- Returns:
- the cookies or empty if none
-