Object

akka.http.scaladsl.server.PathMatchers

IntNumber

Related Doc: package PathMatchers

Permalink

object IntNumber extends NumberMatcher[Int]

A PathMatcher that efficiently matches a number of digits and extracts their (non-negative) Int value. The matcher will not match 0 digits or a sequence of digits that would represent an Int value larger than Int.MaxValue.

Source
PathMatcher.scala
Linear Supertypes
NumberMatcher[Int], PathMatcher[(Int)], (Path) ⇒ Matching[(Int)], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. IntNumber
  2. NumberMatcher
  3. PathMatcher
  4. Function1
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  3. def /[R](other: PathMatcher[R])(implicit join: Join[(Int), R]): PathMatcher[Out]

    Permalink
    Definition Classes
    PathMatcher
  4. def /: PathMatcher[(Int)]

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

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

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

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

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

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

    Permalink
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  11. final def eq(arg0: AnyRef): Boolean

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

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. def fromChar(c: Char): Int

    Permalink
    Definition Classes
    IntNumberNumberMatcher
  16. def fromDecimalChar(c: Char): Int

    Permalink
    Definition Classes
    NumberMatcher
  17. def fromHexChar(c: Char): Int

    Permalink
    Definition Classes
    NumberMatcher
  18. final def getClass(): Class[_]

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

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

    Permalink
    Definition Classes
    Any
  21. val maxDivBase: Int

    Permalink
    Definition Classes
    NumberMatcher
  22. val minusOne: Int

    Permalink
    Definition Classes
    NumberMatcher
  23. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  26. def repeat(min: Int, max: Int, separator: PathMatcher0 = PathMatchers.Neutral)(implicit lift: Lift[(Int), 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
  27. def repeat(count: Int, separator: PathMatcher0)(implicit lift: Lift[(Int), 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
  28. def repeat(count: Int)(implicit lift: Lift[(Int), List]): PathMatcher[Out]

    Permalink

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

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

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

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

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    PathMatcher

Inherited from NumberMatcher[Int]

Inherited from PathMatcher[(Int)]

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

Inherited from AnyRef

Inherited from Any

Ungrouped