Package io.micronaut.http.cookie
Class CookieComparator
java.lang.Object
io.micronaut.http.cookie.CookieComparator
- All Implemented Interfaces:
Comparator<Cookie>
Comparator
for Cookie
.
Implementation mimics implementation of Netty `io.netty.handler.codec.http.cookie.DefaultCookie#compareTo(io.netty.handler.codec.http.cookie.Cookie)`.- Since:
- 4.3.0
- Author:
- Sergio del Amo
-
Constructor Summary
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Constructor Details
-
CookieComparator
public CookieComparator()
-
-
Method Details
-
compare
- Specified by:
compare
in interfaceComparator<Cookie>
-