Object

io.finch.route

/

Related Doc: package route

Permalink

object / extends Router[HNil]

An identity Router.

Linear Supertypes
Router[HNil], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. /
  2. Router
  3. AnyRef
  4. 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[HNil, 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, :+:[HNil, 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[HNil, 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[(HNil) ⇒ 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(input: Input): Option[(Input, () ⇒ Future[HNil])]

    Permalink

    Extracts some value of type A from the given input.

    Extracts some value of type A from the given input.

    Definition Classes
    /Router
  9. def apply(mapper: Mapper[HNil]): 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
  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 embedFlatMap[B](fn: (HNil) ⇒ 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
  13. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  15. def finalize(): Unit

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

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

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

    Permalink
    Definition Classes
    Any
  19. def map[B](fn: (HNil) ⇒ 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. final def ne(arg0: AnyRef): Boolean

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

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

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

    Permalink
    Definition Classes
    AnyRef
  24. def toService[R](implicit arg0: ToRequest[R], ts: ToService[R, HNil]): 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
  25. def toString(): String

    Permalink
    Definition Classes
    / → AnyRef → Any
  26. final def wait(): Unit

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

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

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

    Permalink
    Definition Classes
    Router
  30. def |[B >: HNil](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 Router[HNil]

Inherited from AnyRef

Inherited from Any

Ungrouped