Representation of the HTTP response code and reason
'''Note: ''' the reason is not important to the protocol and is not considered in equality checks.
- Value parameters:
- code
HTTP status code
- reason
reason for the response. eg, OK
- See also:
- Companion:
- object
- Source:
- Status.scala
trait Serializable
trait Product
trait Equals
trait Renderable
trait Comparable[Status]
class Object
trait Matchable
class Any
Value members
Concrete methods
A sanitized reason phrase. Blank if reason is invalid per RFC7230, otherwise equivalent to reason.
A sanitized reason phrase. Blank if reason is invalid per RFC7230, otherwise equivalent to reason.
- Source:
- Status.scala
Deprecated methods
@deprecated("Custom status phrases will be removed in 1.0. They are an optional feature, pose a security risk, and already unsupported on some backends.", "0.22.6")
- Deprecated
- Source:
- Status.scala
Inherited methods
Generates a String rendering of this object
Generates a String rendering of this object
- Inherited from:
- Renderable
- Source:
- Renderable.scala