Status

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 Serializable
trait Product
trait Equals
trait Renderable
trait Ordered[Status]
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

Attributes

Source
Status.scala

Attributes

Source
Status.scala
override def render(writer: Writer): Writer

Base method for rendering this object efficiently

Base method for rendering this object efficiently

Attributes

Definition Classes
Source
Status.scala

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.

Attributes

Source
Status.scala
def unapply[F[_]](msg: Response[F]): Option[Response[F]]

Helpers for for matching against a Response

Helpers for for matching against a Response

Attributes

Source
Status.scala

Deprecated methods

Attributes

Deprecated
true
Source
Status.scala

Inherited methods

def <(that: Status): Boolean

Attributes

Inherited from:
Ordered

Attributes

Inherited from:
Ordered
def >(that: Status): Boolean

Attributes

Inherited from:
Ordered

Attributes

Inherited from:
Ordered

Attributes

Inherited from:
Ordered

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
override def toString: String

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
val reason: String

Attributes

Source
Status.scala

Attributes

Source
Status.scala