org.http4s.Status
See theStatus companion object
sealed abstract case class Status extends Ordered[Status], Renderable
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
Attributes
- See also
- Companion
- object
- Source
- Status.scala
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait Renderabletrait Comparable[Status]class Objecttrait Matchableclass AnyShow all
Members list
Value members
Concrete methods
Attributes
- Source
- Status.scala
Attributes
- Source
- Status.scala
Base method for rendering this object efficiently
A sanitized reason phrase.
A sanitized reason phrase. Blank if reason is invalid per RFC7230, otherwise equivalent to reason.
Attributes
- Source
- Status.scala
Deprecated methods
Attributes
- Deprecated
- true
- Source
- Status.scala
Inherited methods
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- Product
Generates a String rendering of this object
Generates a String rendering of this object
Attributes
- Inherited from:
- Renderable
- Source
- Renderable.scala
Returns a string representation of the object.
Returns a string representation of the object.
The default representation is platform dependent.
Attributes
- Returns
-
a string representation of the object.
- Definition Classes
-
Renderable -> Any
- Inherited from:
- Renderable
- Source
- Renderable.scala
Concrete fields
Attributes
- Source
- Status.scala
Attributes
- Source
- Status.scala
Attributes
- Source
- Status.scala
In this article