Object

io.finch.route

int

Related Doc: package route

Permalink

object int extends Extractor[Int]

A Router that extract an integer value 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. Router
  8. AnyRef
  9. 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 /[B](that: Router[B])(implicit adjoin: PairAdjoin[Int, B]): Router[PairAdjoin.Out]

    Permalink

    Composes this router with the given that router.

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

    Definition Classes
    Router
  4. def :+:[B](that: Router[B])(implicit adjoin: Adjoin[:+:[B, :+:[Int, CNil]]]): Router[shapeless.ops.adjoin.Adjoin.Out]

    Permalink

    Compose this router with another in such a way that coproducts are flattened.

    Compose this router with another in such a way that coproducts are flattened.

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

    Permalink
    Definition Classes
    AnyRef → Any
  6. def ?[B](that: RequestReader[B])(implicit adjoin: PairAdjoin[Int, B]): Router[PairAdjoin.Out]

    Permalink

    Composes this router with the given io.finch.request.RequestReader.

    Composes this router with the given io.finch.request.RequestReader.

    Definition Classes
    Router
  7. def ap[B](fn: Router[(Int) ⇒ B]): Router[B]

    Permalink

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

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

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

    Permalink
    Definition Classes
    Extractor
  9. def apply(input: Input): Option[(Input, () ⇒ Future[Int])]

    Permalink

    Extracts some value of type A from the given input.

    Extracts some value of type A from the given input.

    Definition Classes
    ExtractorRouter
  10. def apply(mapper: Mapper[Int]): Router[Out]

    Permalink

    Maps this Router to either A => B or A => Future[B].

    Maps this Router to either A => B or A => Future[B].

    Definition Classes
    Router
  11. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  13. def embedFlatMap[B](fn: (Int) ⇒ Future[B]): Router[B]

    Permalink

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

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

    Definition Classes
    Router
  14. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  15. val f: (String) ⇒ Int

    Permalink
    Definition Classes
    Extractor
  16. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. final def getClass(): Class[_]

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

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

    Permalink

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

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

    Definition Classes
    Router
  20. val name: String

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

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

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

    Permalink
    Definition Classes
    AnyRef
  24. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  25. def toService[R](implicit arg0: ToRequest[R], ts: ToService[R, Int]): Service[R, Response]

    Permalink

    Converts this router to a Finagle service from a request-like type R to a com.twitter.finagle.httpx.Response.

    Converts this router to a Finagle service from a request-like type R to a com.twitter.finagle.httpx.Response.

    Definition Classes
    Router
  26. def toString(): String

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

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

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

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

    Permalink
    Definition Classes
    Router
  31. def |[B >: Int](that: Router[B]): Router[B]

    Permalink

    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.

    Definition Classes
    Router

Inherited from Extractor[Int]

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Router[Int]

Inherited from AnyRef

Inherited from Any

Ungrouped