Packages

object RemainingPath extends PathMatcher1[Path]

A PathMatcher that matches and extracts the complete remaining, unmatched part of the request's URI path.

Source
PathMatcher.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RemainingPath
  2. PathMatcher
  3. Function1
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. def /[R](other: PathMatcher[R])(implicit join: Join[(Path), R]): PathMatcher[Out]

    Alias for slash.

    Alias for slash.

    Definition Classes
    PathMatcher
  2. def /: PathMatcher[(Path)]

    Alias for slash.

    Alias for slash.

    Definition Classes
    PathMatcher
  3. def andThen[A](g: (Matching[(Path)]) => A): (Path) => A
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  4. def append[R](other: PathMatcher[R])(implicit join: Join[(Path), R]): PathMatcher[Out]
    Definition Classes
    PathMatcher
  5. def apply(path: Path): Matched[(Path)]
    Definition Classes
    RemainingPath → Function1
  6. def compose[A](g: (A) => Path): (A) => Matching[(Path)]
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  7. implicit val ev: Tuple[(Path)]
    Definition Classes
    PathMatcher
  8. def or[R >: (Path)](other: PathMatcher[_ <: R])(implicit arg0: Tuple[R]): PathMatcher[R]
    Definition Classes
    PathMatcher
  9. def repeat(min: Int, max: Int, separator: PathMatcher0 = PathMatchers.Neutral)(implicit lift: Lift[(Path), List]): PathMatcher[Out]

    Turns this PathMatcher into one that matches a number of times (with the given separator) and potentially extracts a List of the underlying matcher's extractions.

    Turns this PathMatcher into one that matches a number of times (with the given separator) and potentially extracts a List of the underlying matcher's extractions. If less than min applications of the underlying matcher have succeeded the produced matcher fails, otherwise it matches up to the given max number of applications. Note that it won't fail even if more than max applications could succeed! The "surplus" path elements will simply be left unmatched.

    The result type depends on the type of the underlying matcher:

    If a `matcher` is of typethen `matcher.repeat(...)` is of type
    `PathMatcher0``PathMatcher0`
    `PathMatcher1[T]``PathMatcher1[List[T]`
    `PathMatcher[L :Tuple]``PathMatcher[List[L]]`

    Definition Classes
    PathMatcher
  10. def repeat(count: Int, separator: PathMatcher0)(implicit lift: Lift[(Path), List]): PathMatcher[Out]

    Same as repeat(min = count, max = count, separator = separator).

    Same as repeat(min = count, max = count, separator = separator).

    Definition Classes
    PathMatcher
  11. def repeat(count: Int)(implicit lift: Lift[(Path), List]): PathMatcher[Out]

    Same as repeat(min = count, max = count).

    Same as repeat(min = count, max = count).

    Definition Classes
    PathMatcher
  12. def slash[R](other: PathMatcher[R])(implicit join: Join[(Path), R]): PathMatcher[Out]
    Definition Classes
    PathMatcher
  13. def slash: PathMatcher[(Path)]
    Definition Classes
    PathMatcher
  14. def tflatMap[R](f: ((Path)) => Option[R])(implicit arg0: Tuple[R]): PathMatcher[R]
    Definition Classes
    PathMatcher
  15. def tmap[R](f: ((Path)) => R)(implicit arg0: Tuple[R]): PathMatcher[R]
    Definition Classes
    PathMatcher
  16. def toString(): String
    Definition Classes
    Function1 → AnyRef → Any
  17. def transform[R](f: (Matching[(Path)]) => Matching[R])(implicit arg0: Tuple[R]): PathMatcher[R]
    Definition Classes
    PathMatcher
  18. def unary_!: PathMatcher0

    Operator alternative to PathMatchers.not

    Operator alternative to PathMatchers.not

    Definition Classes
    PathMatcher
  19. def |[R >: (Path)](other: PathMatcher[_ <: R])(implicit arg0: Tuple[R]): PathMatcher[R]

    Alias for or.

    Alias for or.

    Definition Classes
    PathMatcher
  20. def ~[R](other: PathMatcher[R])(implicit join: Join[(Path), R]): PathMatcher[Out]

    Alias for append.

    Alias for append.

    Definition Classes
    PathMatcher