implicit final class ResponseOutputSyntax[-R, +Err, -In] extends AnyVal
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- ResponseOutputSyntax
- AnyVal
- Any
- Hide All
- Show All
Visibility
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
##(): Int
- Definition Classes
- Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
body(implicit trace: Trace): Handler[R, Err, In, Body]
Extracts body
-
def
contentLength(implicit trace: Trace): Handler[R, Err, In, Option[ContentLength]]
Extracts content-length from the response if available
-
def
contentType(implicit trace: Trace): Handler[R, Err, In, Option[ContentType]]
Extracts the value of ContentType header
-
def
getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
-
def
header(headerType: HeaderType)(implicit trace: Trace): Handler[R, Err, In, Option[HeaderValue]]
Extracts the value of the provided header name.
- def headerOrFail(headerType: HeaderType)(implicit trace: Trace, ev: <:<[Err, String]): Handler[R, String, In, Option[HeaderValue]]
-
def
headers(implicit trace: Trace): Handler[R, Err, In, Headers]
Extracts the
Headersfrom the typeBif possible -
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def rawHeader(name: CharSequence)(implicit trace: Trace): Handler[R, Err, In, Option[String]]
- val self: Handler[R, Err, In, Response]
-
def
status(implicit trace: Trace): Handler[R, Err, In, Status]
Extracts
Statusfrom the typeBis possible. -
def
toString(): String
- Definition Classes
- Any