Interface PathMatchers

    • Method Detail

      • separateOnSlashes

        PathMatcher<scala.runtime.BoxedUnit> separateOnSlashes​(java.lang.String string)
        Converts a path string containing slashes into a PathMatcher that interprets slashes as path segment separators.

        Parameters:
        string - (undocumented)
        Returns:
        (undocumented)
      • DoubleNumber

        PathMatcher<scala.Tuple1<java.lang.Object>> DoubleNumber()
      • JavaUUID

        PathMatcher<scala.Tuple1<java.util.UUID>> JavaUUID()
      • Neutral

        PathMatcher<scala.runtime.BoxedUnit> Neutral()
      • Segments

        PathMatcher<scala.Tuple1<scala.collection.immutable.List<java.lang.String>>> Segments()
      • Segments

        PathMatcher<scala.Tuple1<scala.collection.immutable.List<java.lang.String>>> Segments​(int count)
        A PathMatcher that matches the given number of path segments (separated by slashes) as a List[String]. If there are more than count segments present the remaining ones will be left unmatched. If the path has a trailing slash this slash will *not* be matched.

        Parameters:
        count - (undocumented)
        Returns:
        (undocumented)
      • Segments

        PathMatcher<scala.Tuple1<scala.collection.immutable.List<java.lang.String>>> Segments​(int min,
                                                                                              int max)
        A PathMatcher that matches between min and max (both inclusively) path segments (separated by slashes) as a List[String]. If there are more than count segments present the remaining ones will be left unmatched. If the path has a trailing slash this slash will *not* be matched.

        Parameters:
        min - (undocumented)
        max - (undocumented)
        Returns:
        (undocumented)
      • nothingMatcher

        <L> PathMatcher<L> nothingMatcher​(Tuple<L> evidence$19)
        A PathMatcher that never matches anything.

        Parameters:
        evidence$19 - (undocumented)
        Returns:
        (undocumented)