Object/Trait

io.finch.route

Router

Related Docs: trait Router | package route

Permalink

object Router

Provides extension methods for Router to support coproduct and path syntax.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Router
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Type Members

  1. final case class Input(request: Request, path: Seq[String]) extends Product with Serializable

    Permalink

    An input for Router.

  2. implicit class RArrow0 extends AnyRef

    Permalink

    Add /> and />> compositors to Router to compose it with values.

  3. implicit class RArrow1[A] extends AnyRef

    Permalink

    Add /> and />> compositors to Router to compose it with function of one argument.

  4. implicit class RArrow2[A, B] extends AnyRef

    Permalink

    Add /> and />> compositors to Router to compose it with function of two arguments.

  5. implicit class RArrow3[A, B, C] extends AnyRef

    Permalink

    Add /> and />> compositors to Router to compose it with function of three arguments.

  6. implicit class RArrowN[L <: HList] extends AnyRef

    Permalink

    Add /> and />> compositors to Router to compose it with function of N arguments.

Value Members

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def Input(req: Request): Input

    Permalink

    Creates an input for Router from com.twitter.finagle.httpx.Request.

  5. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def const[A](f: Future[A]): Router[A]

    Permalink

    Creates a Router from the given Future f.

  8. implicit def endpointToService[Req, Rep](router: Router[Service[Req, Rep]])(implicit ev: (Req) ⇒ Request): Service[Req, Rep]

    Permalink

    Implicitly converts the given Router[Service[_, _]] into a service.

  9. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  11. def exception[A](exc: Throwable): Router[A]

    Permalink

    Creates a Router from the given exception exc.

  12. def finalize(): Unit

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

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

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

    Permalink
    Definition Classes
    Any
  16. final def ne(arg0: AnyRef): Boolean

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

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

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

    Permalink
    Definition Classes
    AnyRef
  20. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  21. def value[A](v: A): Router[A]

    Permalink

    Creates a Router from the given value v.

  22. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. implicit def endpointToResponse[A, B](e: Endpoint[A, B])(implicit encoder: EncodeResponse[B]): Endpoint[A, Response]

    Permalink

    An implicit conversion that turns any endpoint with an output type that can be converted into a response into a service that returns responses.

    An implicit conversion that turns any endpoint with an output type that can be converted into a response into a service that returns responses.

    Annotations
    @deprecated
    Deprecated

    (Since version 0.8.0) Endpoint is deprecated in favor of coproduct routers

Inherited from AnyRef

Inherited from Any

Ungrouped