Packages

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

An input for Endpoint that glues two individual pieces together:

- Finagle's Request needed for evaluating (e.g., body, param) - Finch's route (represented as Seq[String]) needed for matching (e.g., path)

Source
Input.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Input
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Input(request: Request, route: Seq[String])

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from Input to any2stringadd[Input] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (Input, B)
    Implicit
    This member is added by an implicit conversion from Input to ArrowAssoc[Input] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  8. def ensuring(cond: (Input) ⇒ Boolean, msg: ⇒ Any): Input
    Implicit
    This member is added by an implicit conversion from Input to Ensuring[Input] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  9. def ensuring(cond: (Input) ⇒ Boolean): Input
    Implicit
    This member is added by an implicit conversion from Input to Ensuring[Input] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  10. def ensuring(cond: Boolean, msg: ⇒ Any): Input
    Implicit
    This member is added by an implicit conversion from Input to Ensuring[Input] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  11. def ensuring(cond: Boolean): Input
    Implicit
    This member is added by an implicit conversion from Input to Ensuring[Input] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from Input to StringFormat[Input] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  15. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. val request: Request
  21. val route: Seq[String]
  22. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  23. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  26. def withBody[CT <: String]: Body[CT]

    Returns the new Input wrapping a given payload.

    Returns the new Input wrapping a given payload. This requires the content-type as a first type parameter (won't be inferred).

    import io.finch._, io.circe._

    val text: Input = Input.post("/").withBody[Text.Plain]("Text Body") val json: Input = Input.post("/").withBody[Application.Json](Map("json" -> "object"))

  27. def withForm(params: (String, String)*): Input

    Returns the new Input wrapping a given application/x-www-form-urlencoded payload.

    Returns the new Input wrapping a given application/x-www-form-urlencoded payload.

    Note

    In addition to media type, this will also set charset to UTF-8.

  28. def withHeaders(headers: (String, String)*): Input

    Returns the new Input with headers amended.

  29. def withRoute(route: Seq[String]): Input

    Returns the new Input wrapping a given route.

  30. def [B](y: B): (Input, B)
    Implicit
    This member is added by an implicit conversion from Input to ArrowAssoc[Input] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from Input to any2stringadd[Input]

Inherited by implicit conversion StringFormat from Input to StringFormat[Input]

Inherited by implicit conversion Ensuring from Input to Ensuring[Input]

Inherited by implicit conversion ArrowAssoc from Input to ArrowAssoc[Input]

Ungrouped