Status

object Status
Companion:
class
Source:
Status.scala
class Object
trait Matchable
class Any
Status.type

Type members

Classlikes

case object ClientError extends ResponseClass
case object Informational extends ResponseClass
case object Redirection extends ResponseClass
sealed trait ResponseClass
case object ServerError extends ResponseClass
case object Successful extends ResponseClass

Value members

Concrete methods

Deprecated methods

@deprecated("Use fromInt(Int). This does not validate the code. Furthermore, custom status phrases will be removed in 1.0. They are an optional feature, pose a security risk, and already unsupported on some backends. For simplicity, we\'ll now assume that entities are allowed on all custom status codes.", "0.22.6")
def apply(code: Int, reason: String, isEntityAllowed: Boolean): Status
Deprecated
Source:
Status.scala
@deprecated("Use fromInt(Int). This does not validate the code.", "0.22.6")
def apply(code: Int): Status
Deprecated
Source:
Status.scala
@deprecated("Use fromInt. 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

Concrete fields

Status code list taken from http://www.iana.org/assignments/http-status-codes/http-status-codes.xml

Implicits

Implicits