Class RestServerEndpoint.RestHandlerUrlComparator.CaseInsensitiveOrderComparator

  • All Implemented Interfaces:
    Serializable, Comparator<String>
    Enclosing class:
    RestServerEndpoint.RestHandlerUrlComparator

    public static final class RestServerEndpoint.RestHandlerUrlComparator.CaseInsensitiveOrderComparator
    extends Object
    implements Comparator<String>, Serializable
    Comparator for Rest URLs.

    The comparator orders the Rest URLs such that URLs with path parameters are ordered behind those without parameters. E.g.: /jobs /jobs/overview /jobs/:jobid /jobs/:jobid/config /:*

    IMPORTANT: This comparator is highly specific to how Netty path parameters are encoded. Namely with a preceding ':' character.

    See Also:
    Serialized Form
    • Constructor Detail

      • CaseInsensitiveOrderComparator

        public CaseInsensitiveOrderComparator()