Packages

abstract class NumberMatcher[T] extends PathMatcher1[T]

Source
PathMatcher.scala
Linear Supertypes
PathMatcher[(T)], (Path) => Matching[(T)], AnyRef, Any
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. NumberMatcher
  2. PathMatcher
  3. Function1
  4. AnyRef
  5. Any
Implicitly
  1. by EnhancedPathMatcher
  2. by PathMatcher1Ops
  3. by EnhancedPathMatcher
  4. by PathMatcher1Ops
  5. by any2stringadd
  6. by StringFormat
  7. by Ensuring
  8. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new NumberMatcher(max: T, base: T)(implicit x: Integral[T])

Abstract Value Members

  1. abstract def fromChar(c: Char): T

Concrete Value Members

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

    Alias for slash.

    Alias for slash.

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

    Alias for slash.

    Alias for slash.

    Definition Classes
    PathMatcher
  3. def andThen[A](g: (Matching[(T)]) => A): (Path) => A
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  4. def append[R](other: PathMatcher[R])(implicit join: Join[(T), R]): PathMatcher[Out]
    Definition Classes
    PathMatcher
  5. def apply(path: Path): Matching[(T)]
    Definition Classes
    NumberMatcher → Function1
  6. def compose[A](g: (A) => Path): (A) => Matching[(T)]
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  7. implicit val ev: Tuple[(T)]
    Definition Classes
    PathMatcher
  8. def fromDecimalChar(c: Char): T
  9. def fromHexChar(c: Char): T
  10. val maxDivBase: T
  11. val minusOne: T
  12. def or[R >: (T)](other: PathMatcher[_ <: R])(implicit arg0: Tuple[R]): PathMatcher[R]
    Definition Classes
    PathMatcher
  13. def repeat(min: Int, max: Int, separator: PathMatcher0 = PathMatchers.Neutral)(implicit lift: Lift[(T), 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
  14. def repeat(count: Int, separator: PathMatcher0)(implicit lift: Lift[(T), List]): PathMatcher[Out]

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

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

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

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

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

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

    Operator alternative to PathMatchers.not

    Operator alternative to PathMatchers.not

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

    Alias for or.

    Alias for or.

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

    Alias for append.

    Alias for append.

    Definition Classes
    PathMatcher

Shadowed Implicit Value Members

  1. def ?(implicit lift: Lift[(T), Option]): PathMatcher[Out]
    Implicit
    This member is added by an implicit conversion from NumberMatcher[T] toEnhancedPathMatcher[(T)] performed by method EnhancedPathMatcher in akka.http.scaladsl.server.PathMatcher.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (numberMatcher: EnhancedPathMatcher[(T)]).?(lift)
    Definition Classes
    EnhancedPathMatcher
  2. def ?(implicit lift: Lift[(T), Option]): PathMatcher[Out]
    Implicit
    This member is added by an implicit conversion from NumberMatcher[T] toEnhancedPathMatcher[(T)] performed by method EnhancedPathMatcher in akka.http.scaladsl.server.PathMatcher.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (numberMatcher: EnhancedPathMatcher[(T)]).?(lift)
    Definition Classes
    EnhancedPathMatcher
  3. def flatMap[R](f: (T) => Option[R]): PathMatcher1[R]
    Implicit
    This member is added by an implicit conversion from NumberMatcher[T] toPathMatcher1Ops[T] performed by method PathMatcher1Ops in akka.http.scaladsl.server.PathMatcher.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (numberMatcher: PathMatcher1Ops[T]).flatMap(f)
    Definition Classes
    PathMatcher1Ops
  4. def flatMap[R](f: (T) => Option[R]): PathMatcher1[R]
    Implicit
    This member is added by an implicit conversion from NumberMatcher[T] toPathMatcher1Ops[T] performed by method PathMatcher1Ops in akka.http.scaladsl.server.PathMatcher.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (numberMatcher: PathMatcher1Ops[T]).flatMap(f)
    Definition Classes
    PathMatcher1Ops
  5. def map[R](f: (T) => R): PathMatcher1[R]
    Implicit
    This member is added by an implicit conversion from NumberMatcher[T] toPathMatcher1Ops[T] performed by method PathMatcher1Ops in akka.http.scaladsl.server.PathMatcher.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (numberMatcher: PathMatcher1Ops[T]).map(f)
    Definition Classes
    PathMatcher1Ops
  6. def map[R](f: (T) => R): PathMatcher1[R]
    Implicit
    This member is added by an implicit conversion from NumberMatcher[T] toPathMatcher1Ops[T] performed by method PathMatcher1Ops in akka.http.scaladsl.server.PathMatcher.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (numberMatcher: PathMatcher1Ops[T]).map(f)
    Definition Classes
    PathMatcher1Ops
  7. def optional(implicit lift: Lift[(T), Option]): PathMatcher[Out]
    Implicit
    This member is added by an implicit conversion from NumberMatcher[T] toEnhancedPathMatcher[(T)] performed by method EnhancedPathMatcher in akka.http.scaladsl.server.PathMatcher.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (numberMatcher: EnhancedPathMatcher[(T)]).optional(lift)
    Definition Classes
    EnhancedPathMatcher
  8. def optional(implicit lift: Lift[(T), Option]): PathMatcher[Out]
    Implicit
    This member is added by an implicit conversion from NumberMatcher[T] toEnhancedPathMatcher[(T)] performed by method EnhancedPathMatcher in akka.http.scaladsl.server.PathMatcher.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (numberMatcher: EnhancedPathMatcher[(T)]).optional(lift)
    Definition Classes
    EnhancedPathMatcher