@Contract(threading=IMMUTABLE) public class CookieIdentityComparator extends Object implements Serializable, Comparator<Cookie>
Cookies are considered identical if their names are equal and their domain attributes match ignoring case.
Constructor and Description |
---|
CookieIdentityComparator() |
public int compare(Cookie c1, Cookie c2)
compare
in interface Comparator<Cookie>
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.