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.
- Alphabetic
- By Inheritance
- Status
- Serializable
- Serializable
- Product
- Equals
- Renderable
- Ordered
- Comparable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
def
<(that: Status): Boolean
- Definition Classes
- Ordered
-
def
<=(that: Status): Boolean
- Definition Classes
- Ordered
-
def
>(that: Status): Boolean
- Definition Classes
- Ordered
-
def
>=(that: Status): Boolean
- Definition Classes
- Ordered
- val code: Int
-
def
compare(that: Status): Int
- Definition Classes
- Status → Ordered
-
def
compareTo(that: Status): Int
- Definition Classes
- Ordered → Comparable
- val isEntityAllowed: Boolean
- def isSuccess: Boolean
- val reason: String
-
def
render(writer: Writer): writer.type
Base method for rendering this object efficiently
Base method for rendering this object efficiently
- Definition Classes
- Status → Renderable
-
def
renderString: String
Generates a String rendering of this object
Generates a String rendering of this object
- Definition Classes
- Renderable
- val responseClass: ResponseClass
-
def
toString(): String
- Definition Classes
- Renderable → Any
-
def
unapply[F[_]](msg: Response[F]): Option[Response[F]]
Helpers for for matching against a Response
- def withReason(reason: String): Status