Trait/Object

io.finch

Output

Related Docs: object Output | package finch

Permalink

sealed trait Output[+A] extends AnyRef

An output of Endpoint.

Self Type
Output[A]
Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Output
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def meta: Meta

    Permalink
    Attributes
    protected
  2. abstract def value: A

    Permalink

    Returns the payload value of this Output or throws an exception.

  3. abstract def withMeta(meta: Meta): Output[A]

    Permalink
    Attributes
    protected

Concrete 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. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def charset: Option[String]

    Permalink

    The charset of this Output.

  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def contentType: Option[String]

    Permalink

    The content type of this Output.

  8. def cookies: Seq[Cookie]

    Permalink

    The cookie list of this Output.

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

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. def flatMap[B](fn: (A) ⇒ Output[B]): Output[B]

    Permalink
  13. def flatten[B](implicit ev: <:<[A, Output[B]]): Output[B]

    Permalink
  14. final def getClass(): Class[_]

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

    Permalink
    Definition Classes
    AnyRef → Any
  16. def headers: Map[String, String]

    Permalink

    The header map of this Output.

  17. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  18. def map[B](fn: (A) ⇒ B): Output[B]

    Permalink
  19. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  22. def status: Status

    Permalink

    The status code of this Output.

  23. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  24. def toResponse(version: Version = Version.Http11)(implicit payloadToResponse: ToResponse[A], failureToResponse: ToResponse[Exception]): Response

    Permalink

    Converts this Output to the HTTP response of the given version.

  25. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  26. def traverse[B](fn: (A) ⇒ Future[B]): Future[Output[B]]

    Permalink
  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 withCharset(charset: Option[String]): Output[A]

    Permalink

    Overrides the charset value of this Output.

  31. def withContentType(contentType: Option[String]): Output[A]

    Permalink

    Overrides the content type value of this Output.

  32. def withCookie(cookie: Cookie): Output[A]

    Permalink

    Adds a given cookie to this Output.

  33. def withHeader(header: (String, String)): Output[A]

    Permalink

    Adds a given header to this Output.

  34. def withStatus(status: Status): Output[A]

    Permalink

    Overrides the status code of this Output.

Inherited from AnyRef

Inherited from Any

Ungrouped