Packages

case class ServerResponse[+B](code: StatusCode, headers: Seq[Header], body: Option[B], source: Option[ValuedEndpointOutput[_]]) extends ResponseMetadata with Product with Serializable

source

The output, from which this response has been created.

Linear Supertypes
Serializable, Product, Equals, ResponseMetadata, HasHeaders, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ServerResponse
  2. Serializable
  3. Product
  4. Equals
  5. ResponseMetadata
  6. HasHeaders
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new ServerResponse(code: StatusCode, headers: Seq[Header], body: Option[B], source: Option[ValuedEndpointOutput[_]])

    source

    The output, from which this response has been created.

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 addHeaders(additionalHeaders: Seq[Header]): ServerResponse[B]
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. val body: Option[B]
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  8. val code: StatusCode
    Definition Classes
    ServerResponse → ResponseMetadata
  9. def contentLength: Option[Long]
    Definition Classes
    HasHeaders
  10. def contentType: Option[String]
    Definition Classes
    HasHeaders
  11. def cookies: Seq[Either[String, CookieWithMeta]]
    Definition Classes
    HasHeaders
  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  14. def header(h: String): Option[String]
    Definition Classes
    HasHeaders
  15. def headers(h: String): Seq[String]
    Definition Classes
    HasHeaders
  16. val headers: Seq[Header]
    Definition Classes
    ServerResponse → HasHeaders
  17. def is200: Boolean
    Definition Classes
    ResponseMetadata
  18. def isClientError: Boolean
    Definition Classes
    ResponseMetadata
  19. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  20. def isRedirect: Boolean
    Definition Classes
    ResponseMetadata
  21. def isServerError: Boolean
    Definition Classes
    ResponseMetadata
  22. def isSuccess: Boolean
    Definition Classes
    ResponseMetadata
  23. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  24. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  25. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  26. def productElementNames: Iterator[String]
    Definition Classes
    Product
  27. def showCodeAndHeaders: String
  28. def showShort: String
  29. val source: Option[ValuedEndpointOutput[_]]
  30. def statusText: String
    Definition Classes
    ServerResponse → ResponseMetadata
  31. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  32. def toString(): String
    Definition Classes
    ServerResponse → ResponseMetadata → AnyRef → Any
  33. def unsafeCookies: Seq[CookieWithMeta]
    Definition Classes
    HasHeaders
  34. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  35. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  36. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

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

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from ResponseMetadata

Inherited from HasHeaders

Inherited from AnyRef

Inherited from Any

Ungrouped