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
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondecode(HttpRequest<?> request) Decode the cookies from the request.intgetOrder()
-
Constructor Details
-
DefaultCookieDecoder
public DefaultCookieDecoder()
-
-
Method Details
-
decode
Description copied from interface:CookieDecoderDecode the cookies from the request.- Specified by:
decodein interfaceCookieDecoder- Parameters:
request- the request- Returns:
- the cookies or empty if none
-
getOrder
public int getOrder()
-