cc.spray.http

HttpResponse

case class HttpResponse (status: StatusCode, headers: List[HttpHeader], content: Option[HttpContent]) extends HttpMessage with Product with Serializable

Sprays immutable model of an HTTP response.

Linear Supertypes
Serializable, Serializable, Product, Equals, HttpMessage, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. HttpResponse
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. HttpMessage
  7. AnyRef
  8. Any
Visibility
  1. Public
  2. All

Instance Constructors

  1. new HttpResponse (status: StatusCode, headers: List[HttpHeader], content: Option[HttpContent])

Value Members

  1. def != (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  2. def != (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  3. def ## (): Int

    Attributes
    final
    Definition Classes
    AnyRef → Any
  4. def == (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  5. def == (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  6. def asInstanceOf [T0] : T0

    Attributes
    final
    Definition Classes
    Any
  7. def canEqual (arg0: Any): Boolean

    Definition Classes
    HttpResponse → Equals
  8. def clone (): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  9. val content : Option[HttpContent]

    The entity body of the request or response.

    The entity body of the request or response.

    Definition Classes
    HttpResponseHttpMessage
  10. lazy val encoding : HttpEncoding

    The content encoding as specified by the Content-Encoding header.

    The content encoding as specified by the Content-Encoding header. If no Content-Encoding header is present the default value 'identity' is returned.

    Definition Classes
    HttpMessage
  11. def eq (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  12. def equals (arg0: Any): Boolean

    Definition Classes
    HttpResponse → Equals → AnyRef → Any
  13. def finalize (): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  14. def getClass (): java.lang.Class[_]

    Attributes
    final
    Definition Classes
    AnyRef
  15. def hashCode (): Int

    Definition Classes
    HttpResponse → AnyRef → Any
  16. val headers : List[HttpHeader]

    The HTTP headers of the request or response.

    The HTTP headers of the request or response.

    Definition Classes
    HttpResponseHttpMessage
  17. def isEncodingSpecified : Boolean

    Returns true if a Content-Encoding header is present.

    Returns true if a Content-Encoding header is present.

    Definition Classes
    HttpMessage
  18. def isFailure : Boolean

  19. def isInstanceOf [T0] : Boolean

    Attributes
    final
    Definition Classes
    Any
  20. def isSuccess : Boolean

  21. def isWarning : Boolean

  22. def ne (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  23. def notify (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  24. def notifyAll (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  25. def productArity : Int

    Definition Classes
    HttpResponse → Product
  26. def productElement (arg0: Int): Any

    Definition Classes
    HttpResponse → Product
  27. def productIterator : Iterator[Any]

    Definition Classes
    Product
  28. def productPrefix : String

    Definition Classes
    HttpResponse → Product
  29. val status : StatusCode

  30. def synchronized [T0] (arg0: ⇒ T0): T0

    Attributes
    final
    Definition Classes
    AnyRef
  31. def toString (): String

    Definition Classes
    HttpResponse → AnyRef → Any
  32. def wait (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()
  33. def wait (arg0: Long, arg1: Int): Unit

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()
  34. def wait (arg0: Long): Unit

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()
  35. def withContentTransformed (f: (HttpContent) ⇒ HttpContent): HttpResponse

  36. def productElements : Iterator[Any]

    Definition Classes
    Product
    Annotations
    @deprecated
    Deprecated

    use productIterator instead

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from HttpMessage

Inherited from AnyRef

Inherited from Any