Class DefaultCookieDecoder
java.lang.Object
io.micronaut.http.client.jdk.cookie.DefaultCookieDecoder
- All Implemented Interfaces:
Ordered
,CookieDecoder
Default implementation of
CookieDecoder
that returns the cookies from the request.- Since:
- 4.0.0
- Author:
- Tim Yates
-
Field Summary
Fields inherited from interface io.micronaut.core.order.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondecode
(HttpRequest<?> request) Decode the cookies from the request.int
getOrder()
-
Constructor Details
-
DefaultCookieDecoder
public DefaultCookieDecoder()
-
-
Method Details
-
decode
Description copied from interface:CookieDecoder
Decode the cookies from the request.- Specified by:
decode
in interfaceCookieDecoder
- Parameters:
request
- the request- Returns:
- the cookies or empty if none
-
getOrder
public int getOrder()
-