sealed trait Response extends HeaderOps[Response]

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Response
  2. HeaderOps
  3. HeaderChecks
  4. HeaderGetters
  5. HeaderModifier
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract def body: Body
  2. abstract def copy(status: Status = self.status, headers: Headers = self.headers, body: Body = self.body): Response
  3. abstract def freeze: Response
  4. abstract def headers: Headers

    Returns the headers

    Returns the headers

    Definition Classes
    ResponseHeaderGetters
  5. abstract def status: Status
  6. abstract def updateHeaders(update: (Headers) => Headers): Response

    Updates the current Headers with new one, using the provided update function passed.

    Updates the current Headers with new one, using the provided update function passed.

    Definition Classes
    HeaderModifier
  7. abstract def withServerTime: Response

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def addCookie(cookie: Cookie.Response): Response
  5. final def addHeader(name: CharSequence, value: CharSequence): Response
    Definition Classes
    HeaderModifier
  6. final def addHeader(header: Header): Response
    Definition Classes
    HeaderModifier
  7. final def addHeaders(headers: Headers): Response
    Definition Classes
    HeaderModifier
  8. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  9. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  10. def collect: ZIO[Any, Throwable, Response]

    Collects the potentially streaming body of the response into a single chunk.

  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def equals(o: Any): Boolean
    Definition Classes
    Response → AnyRef → Any
  13. def frozen: Boolean
  14. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  15. final def hasContentType(value: CharSequence): Boolean
    Definition Classes
    HeaderChecks
  16. final def hasFormUrlencodedContentType: Boolean
    Definition Classes
    HeaderChecks
  17. final def hasHeader(header: Header): Boolean
    Definition Classes
    HeaderChecks
  18. final def hasHeader(headerType: HeaderType): Boolean
    Definition Classes
    HeaderChecks
  19. final def hasHeader(name: CharSequence): Boolean
    Definition Classes
    HeaderChecks
  20. final def hasJsonContentType: Boolean
    Definition Classes
    HeaderChecks
  21. final def hasMediaType(mediaType: MediaType): Boolean
    Definition Classes
    HeaderChecks
  22. final def hasTextPlainContentType: Boolean
    Definition Classes
    HeaderChecks
  23. final def hasXhtmlXmlContentType: Boolean
    Definition Classes
    HeaderChecks
  24. final def hasXmlContentType: Boolean
    Definition Classes
    HeaderChecks
  25. lazy val hashCode: Int
    Definition Classes
    Response → AnyRef → Any
  26. final def header(headerType: HeaderType): Option[HeaderValue]

    Gets a header or returns None if the header was not present or it could not be parsed

    Gets a header or returns None if the header was not present or it could not be parsed

    Definition Classes
    HeaderGetters
  27. final def headerOrFail(headerType: HeaderType): Option[Either[String, HeaderValue]]

    Gets a header.

    Gets a header. If the header is not present, returns None. If the header could not be parsed it returns the parsing error

    Definition Classes
    HeaderGetters
  28. final def headers(headerType: HeaderType): Chunk[HeaderValue]
    Definition Classes
    HeaderGetters
  29. final def ignoreBody: ZIO[Any, Throwable, Response]

    Consumes the streaming body fully and then drops it

  30. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  31. final def isWebSocket: Boolean
  32. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  33. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  34. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  35. final def patch(p: Patch): Response
  36. final def rawHeader(headerType: HeaderType): Option[String]

    Gets the raw unparsed header value

    Gets the raw unparsed header value

    Definition Classes
    HeaderGetters
  37. final def rawHeader(name: CharSequence): Option[String]

    Gets the raw unparsed header value

    Gets the raw unparsed header value

    Definition Classes
    HeaderGetters
  38. final def removeHeader(name: String): Response
    Definition Classes
    HeaderModifier
  39. final def removeHeader(headerType: HeaderType): Response
    Definition Classes
    HeaderModifier
  40. final def removeHeaders(headers: Set[String]): Response
    Definition Classes
    HeaderModifier
  41. final def setHeaders(headers: Headers): Response
    Definition Classes
    HeaderModifier
  42. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  43. final def toHandler(implicit trace: Trace): Handler[Any, Nothing, Any, Response]

    Creates an Http from a Response

  44. def toString(): String
    Definition Classes
    AnyRef → Any
  45. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  46. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  47. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  48. def withHeader(header: Header): Response
    Definition Classes
    HeaderModifier
  49. final def withStatus(status: Status): Response

    Sets the status of the response

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from HeaderOps[Response]

Inherited from HeaderChecks[Response]

Inherited from HeaderGetters

Inherited from HeaderModifier[Response]

Inherited from AnyRef

Inherited from Any

Ungrouped