io.finch.route

int

Related Doc: package route

object int extends Extractor[Int]

A RouterN that extract an integer from the route.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. int
  2. Extractor
  3. Serializable
  4. Serializable
  5. Product
  6. Equals
  7. RouterN
  8. AnyRef
  9. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

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

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

    Definition Classes
    AnyRef → Any
  3. def /(that: Router0): RouterN[Int]

    Sequentially composes this router with the given that router.

    Sequentially composes this router with the given that router. The resulting router will succeed only if both this and that routers are succeed.

    Definition Classes
    RouterN
  4. def /[B](that: RouterN[B]): RouterN[/[Int, B]]

    Sequentially composes this router with the given that router.

    Sequentially composes this router with the given that router. The resulting router will succeed only if both this and that routers are succeed.

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

    Definition Classes
    AnyRef → Any
  6. def andThen[B](that: RouterN[B]): RouterN[/[Int, B]]

    Sequentially composes this router with the given that router.

    Sequentially composes this router with the given that router. The resulting router will succeed only if both this and that routers are succeed.

    Definition Classes
    RouterN
  7. def andThen(that: ⇒ Router0): RouterN[Int]

    Sequentially composes this router with the given that Router0.

    Sequentially composes this router with the given that Router0.

    Definition Classes
    RouterN
  8. def apply(n: String): Extractor[Int]

    Definition Classes
    Extractor
  9. def apply(route: Route): Option[(Route, Int)]

    Extracts some value of type A from the given route.

    Extracts some value of type A from the given route. In case of success it returns Some tuple of the _rest_ of the route and the fetched _value_. In case of failure it returns None.

    Definition Classes
    ExtractorRouterN
  10. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  11. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. def embedFlatMap[B](fn: (Int) ⇒ Option[B]): RouterN[B]

    Flat-maps the router to the given function A => Option[B].

    Flat-maps the router to the given function A => Option[B]. If the given function None the resulting router will also return None.

    Definition Classes
    RouterN
  13. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  14. val f: (String) ⇒ Option[Int]

    Definition Classes
    Extractor
  15. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. def flatMap[B](fn: (Int) ⇒ RouterN[B]): RouterN[B]

    Flat-maps this router to the given function A => RouterN[B].

    Flat-maps this router to the given function A => RouterN[B].

    Definition Classes
    RouterN
  17. final def getClass(): Class[_]

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

    Definition Classes
    Any
  19. def map[B](fn: (Int) ⇒ B): RouterN[B]

    Maps this router to the given function A => B.

    Maps this router to the given function A => B.

    Definition Classes
    RouterN
  20. val name: String

    Definition Classes
    Extractor
  21. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  22. final def notify(): Unit

    Definition Classes
    AnyRef
  23. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  24. def orElse[B >: Int](that: RouterN[B]): RouterN[B]

    Sequentially composes this router with the given that router.

    Sequentially composes this router with the given that router. The resulting router will succeed if either this or that routers are succeed.

    Router composition via orElse operator happens in a _greedy_ manner: it minimizes the output route tail. Thus, if both of the routers can handle the given route the router is being chosen is that which eats more.

    Definition Classes
    RouterN
  25. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  26. def toString(): String

    Definition Classes
    Extractor → AnyRef → Any
  27. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. def withFilter(p: (Int) ⇒ Boolean): RouterN[Int]

    Definition Classes
    RouterN

Inherited from Extractor[Int]

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from RouterN[Int]

Inherited from AnyRef

Inherited from Any

Ungrouped