Package org.eclipse.jetty.http2
Class HTTP2Cipher.CipherComparator
- java.lang.Object
-
- org.eclipse.jetty.http2.HTTP2Cipher.CipherComparator
-
- All Implemented Interfaces:
Comparator<String>
- Enclosing class:
- HTTP2Cipher
public static class HTTP2Cipher.CipherComparator extends Object implements Comparator<String>
Comparator that orders non blacklisted ciphers before blacklisted ones.
-
-
Constructor Summary
Constructors Constructor Description CipherComparator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompare(String c1, String c2)-
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
-
-
-
-
Method Detail
-
compare
public int compare(String c1, String c2)
- Specified by:
comparein interfaceComparator<String>
-
-