Class PathMatchers.NumberMatcher<T>

java.lang.Object
akka.http.scaladsl.server.PathMatcher<scala.Tuple1<T>>
akka.http.scaladsl.server.PathMatchers.NumberMatcher<T>
All Implemented Interfaces:
scala.Function1<Uri.Path,PathMatcher.Matching<scala.Tuple1<T>>>
Direct Known Subclasses:
PathMatchers.HexIntNumber$, PathMatchers.HexLongNumber$, PathMatchers.IntNumber$, PathMatchers.LongNumber$
Enclosing interface:
PathMatchers

public abstract static class PathMatchers.NumberMatcher<T> extends PathMatcher<scala.Tuple1<T>>
  • Constructor Details

    • NumberMatcher

      public NumberMatcher(T max, T base, scala.math.Integral<T> x)
      A PathMatcher that matches up to 128 remaining segments as a List[String]. This can also be no segments resulting in the empty list. If the path has a trailing slash this slash will *not* be matched.

      Parameters:
      max - (undocumented)
      base - (undocumented)
      x - (undocumented)
  • Method Details

    • apply

      public PathMatcher.Matching<scala.Tuple1<T>> apply(Uri.Path path)
    • fromChar

      public abstract T fromChar(char c)
    • fromDecimalChar

      public T fromDecimalChar(char c)
    • fromHexChar

      public T fromHexChar(char c)
    • maxDivBase

      public T maxDivBase()
    • minusOne

      public T minusOne()