Class PathTemplateMatcher<T>


  • public class PathTemplateMatcher<T>
    extends Object
    Utility class that provides fast path matching of path templates. Templates are stored in a map based on the stem of the template, and matches longest stem first.

    TODO: we can probably do this faster using a trie type structure, but I think the current impl should perform ok most of the time

    Author:
    Stuart Douglas