Class

akka.http.scaladsl.server.PathMatchers

NumberMatcher

Related Doc: package PathMatchers

Permalink

abstract class NumberMatcher[T] extends PathMatcher1[T]

Source
PathMatcher.scala
Linear Supertypes
PathMatcher[(T)], (Path) ⇒ Matching[(T)], AnyRef, Any
Known Subclasses
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. NumberMatcher
  2. PathMatcher
  3. Function1
  4. AnyRef
  5. Any
Implicitly
  1. by PathMatcher1Ops
  2. by EnhancedPathMatcher
  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. All

Instance Constructors

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

    Permalink

Abstract Value Members

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

    Permalink

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from NumberMatcher[T] to any2stringadd[NumberMatcher[T]] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (NumberMatcher[T], B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from NumberMatcher[T] to ArrowAssoc[NumberMatcher[T]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. def /[R](other: PathMatcher[R])(implicit join: Join[(T), R]): PathMatcher[Out]

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

    Permalink
    Definition Classes
    PathMatcher
  7. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  8. def andThen[A](g: (Matching[(T)]) ⇒ A): (Path) ⇒ A

    Permalink
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  9. def apply(path: Path): Matching[(T)]

    Permalink
    Definition Classes
    NumberMatcher → Function1
  10. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  11. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. def compose[A](g: (A) ⇒ Path): (A) ⇒ Matching[(T)]

    Permalink
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  13. def ensuring(cond: (NumberMatcher[T]) ⇒ Boolean, msg: ⇒ Any): NumberMatcher[T]

    Permalink
    Implicit information
    This member is added by an implicit conversion from NumberMatcher[T] to Ensuring[NumberMatcher[T]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. def ensuring(cond: (NumberMatcher[T]) ⇒ Boolean): NumberMatcher[T]

    Permalink
    Implicit information
    This member is added by an implicit conversion from NumberMatcher[T] to Ensuring[NumberMatcher[T]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  15. def ensuring(cond: Boolean, msg: ⇒ Any): NumberMatcher[T]

    Permalink
    Implicit information
    This member is added by an implicit conversion from NumberMatcher[T] to Ensuring[NumberMatcher[T]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  16. def ensuring(cond: Boolean): NumberMatcher[T]

    Permalink
    Implicit information
    This member is added by an implicit conversion from NumberMatcher[T] to Ensuring[NumberMatcher[T]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  17. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  18. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  19. implicit val ev: Tuple[(T)]

    Permalink
    Definition Classes
    PathMatcher
  20. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  21. def formatted(fmtstr: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from NumberMatcher[T] to StringFormat[NumberMatcher[T]] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  22. def fromDecimalChar(c: Char): T

    Permalink
  23. def fromHexChar(c: Char): T

    Permalink
  24. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  25. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  26. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  27. val maxDivBase: T

    Permalink
  28. val minusOne: T

    Permalink
  29. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  30. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  31. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  32. def repeat(min: Int, max: Int, separator: PathMatcher0 = PathMatchers.Neutral)(implicit lift: Lift[(T), List]): PathMatcher[Out]

    Permalink

    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
  33. def repeat(count: Int, separator: PathMatcher0)(implicit lift: Lift[(T), List]): PathMatcher[Out]

    Permalink

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

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

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

    Permalink

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

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

    Definition Classes
    PathMatcher
  35. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  36. def tflatMap[R](f: ((T)) ⇒ Option[R])(implicit arg0: Tuple[R]): PathMatcher[R]

    Permalink
    Definition Classes
    PathMatcher
  37. def tmap[R](f: ((T)) ⇒ R)(implicit arg0: Tuple[R]): PathMatcher[R]

    Permalink
    Definition Classes
    PathMatcher
  38. def toString(): String

    Permalink
    Definition Classes
    Function1 → AnyRef → Any
  39. def transform[R](f: (Matching[(T)]) ⇒ Matching[R])(implicit arg0: Tuple[R]): PathMatcher[R]

    Permalink
    Definition Classes
    PathMatcher
  40. def unary_!(): PathMatcher0

    Permalink
    Definition Classes
    PathMatcher
  41. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  42. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  43. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  44. def |[R >: (T)](other: PathMatcher[_ <: R])(implicit arg0: Tuple[R]): PathMatcher[R]

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

    Permalink
    Definition Classes
    PathMatcher
  46. def [B](y: B): (NumberMatcher[T], B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from NumberMatcher[T] to ArrowAssoc[NumberMatcher[T]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Shadowed Implicit Value Members

  1. def ?(implicit lift: Lift[(T), Option]): PathMatcher[Out]

    Permalink
    Implicit information
    This member is added by an implicit conversion from NumberMatcher[T] to EnhancedPathMatcher[(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]

    Permalink
    Implicit information
    This member is added by an implicit conversion from NumberMatcher[T] to EnhancedPathMatcher[(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]

    Permalink
    Implicit information
    This member is added by an implicit conversion from NumberMatcher[T] to PathMatcher1Ops[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]

    Permalink
    Implicit information
    This member is added by an implicit conversion from NumberMatcher[T] to PathMatcher1Ops[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]

    Permalink
    Implicit information
    This member is added by an implicit conversion from NumberMatcher[T] to PathMatcher1Ops[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]

    Permalink
    Implicit information
    This member is added by an implicit conversion from NumberMatcher[T] to PathMatcher1Ops[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

Inherited from PathMatcher[(T)]

Inherited from (Path) ⇒ Matching[(T)]

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion PathMatcher1Ops from NumberMatcher[T] to PathMatcher1Ops[T]

Inherited by implicit conversion EnhancedPathMatcher from NumberMatcher[T] to EnhancedPathMatcher[(T)]

Inherited by implicit conversion EnhancedPathMatcher from NumberMatcher[T] to EnhancedPathMatcher[(T)]

Inherited by implicit conversion PathMatcher1Ops from NumberMatcher[T] to PathMatcher1Ops[T]

Inherited by implicit conversion any2stringadd from NumberMatcher[T] to any2stringadd[NumberMatcher[T]]

Inherited by implicit conversion StringFormat from NumberMatcher[T] to StringFormat[NumberMatcher[T]]

Inherited by implicit conversion Ensuring from NumberMatcher[T] to Ensuring[NumberMatcher[T]]

Inherited by implicit conversion ArrowAssoc from NumberMatcher[T] to ArrowAssoc[NumberMatcher[T]]

Ungrouped