Status

org.http4s.Status
See theStatus companion object
sealed abstract case class Status extends Ordered[Status] with 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.

Attributes

code

HTTP status code

reason

reason for the response. eg, OK

See also:
Companion:
object
Source:
Status.scala
Graph
Supertypes
trait Product
trait Equals
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

def compare(that: Status): Int

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

def withReason(reason: String): Status

Attributes

Deprecated
true
Source:
Status.scala

Inherited methods

Attributes

Inherited from:
Ordered

Attributes

Inherited from:
Ordered

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

Attributes

Source:
Status.scala