c

zio.http.Handler

ResponseOutputSyntax

implicit final class ResponseOutputSyntax[-R, +Err, -In] extends AnyVal

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ResponseOutputSyntax
  2. AnyVal
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new ResponseOutputSyntax(self: Handler[R, Err, In, Response])

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    Any
  2. final def ##: Int
    Definition Classes
    Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def body(implicit trace: Trace): Handler[R, Err, In, Body]

    Extracts body

  6. def contentLength(implicit trace: Trace): Handler[R, Err, In, Option[ContentLength]]

    Extracts content-length from the response if available

  7. def contentType(implicit trace: Trace): Handler[R, Err, In, Option[ContentType]]

    Extracts the value of ContentType header

  8. def getClass(): Class[_ <: AnyVal]
    Definition Classes
    AnyVal → Any
  9. def header(headerType: HeaderType)(implicit trace: Trace): Handler[R, Err, In, Option[HeaderValue]]

    Extracts the value of the provided header name.

  10. def headerOrFail(headerType: HeaderType)(implicit trace: Trace, ev: <:<[Err, String]): Handler[R, String, In, Option[HeaderValue]]
  11. def headers(implicit trace: Trace): Handler[R, Err, In, Headers]

    Extracts the Headers from the type B if possible

  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. def rawHeader(name: CharSequence)(implicit trace: Trace): Handler[R, Err, In, Option[String]]
  14. val self: Handler[R, Err, In, Response]
  15. def status(implicit trace: Trace): Handler[R, Err, In, Status]

    Extracts Status from the type B is possible.

  16. def toString(): String
    Definition Classes
    Any

Inherited from AnyVal

Inherited from Any

Ungrouped