Packages

sealed abstract case class Status extends Ordered[Status] with Renderable with Product with Serializable

Representation of the HTTP response code and reason

Note: the reason is not important to the protocol and is not considered in equality checks.

Source
Status.scala
See also

RFC 7231, Section 6, Response Status Codes

IANA Status Code Registry

Linear Supertypes
Serializable, Serializable, Product, Equals, Renderable, Ordered[Status], Comparable[Status], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Status
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. Renderable
  7. Ordered
  8. Comparable
  9. AnyRef
  10. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. def <(that: Status): Boolean
    Definition Classes
    Ordered
  2. def <=(that: Status): Boolean
    Definition Classes
    Ordered
  3. def >(that: Status): Boolean
    Definition Classes
    Ordered
  4. def >=(that: Status): Boolean
    Definition Classes
    Ordered
  5. val code: Int
  6. def compare(that: Status): Int
    Definition Classes
    Status → Ordered
  7. def compareTo(that: Status): Int
    Definition Classes
    Ordered → Comparable
  8. val isEntityAllowed: Boolean
  9. def isSuccess: Boolean
  10. val reason: String
  11. def render(writer: Writer): writer.type

    Base method for rendering this object efficiently

    Base method for rendering this object efficiently

    Definition Classes
    StatusRenderable
  12. def renderString: String

    Generates a String rendering of this object

    Generates a String rendering of this object

    Definition Classes
    Renderable
  13. val responseClass: ResponseClass
  14. def toString(): String
    Definition Classes
    Renderable → Any
  15. def unapply[F[_]](msg: Response[F]): Option[Response[F]]

    Helpers for for matching against a Response

  16. def withReason(reason: String): Status