Packages

sealed abstract case class Status extends Ordered[Status] with Renderable with Product with Serializable

Representation of the HTTP response code and reason

Note: the reason is not important to the protocol and is not considered in equality checks.

Source
Status.scala
See also

RFC 7231, Section 6, Response Status Codes

IANA Status Code Registry

Linear Supertypes
Serializable, Serializable, Product, Equals, Renderable, Ordered[Status], Comparable[Status], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Status
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. Renderable
  7. Ordered
  8. Comparable
  9. AnyRef
  10. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. def <(that: Status): Boolean
    Definition Classes
    Ordered
  4. def <=(that: Status): Boolean
    Definition Classes
    Ordered
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. def >(that: Status): Boolean
    Definition Classes
    Ordered
  7. def >=(that: Status): Boolean
    Definition Classes
    Ordered
  8. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  9. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  10. val code: Int
  11. def compare(that: Status): Int
    Definition Classes
    Status → Ordered
  12. def compareTo(that: Status): Int
    Definition Classes
    Ordered → Comparable
  13. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  16. val isEntityAllowed: Boolean
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. def isSuccess: Boolean
  19. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  22. val reason: String
  23. def render(writer: Writer): writer.type

    Base method for rendering this object efficiently

    Base method for rendering this object efficiently

    Definition Classes
    StatusRenderable
  24. def renderString: String

    Generates a String rendering of this object

    Generates a String rendering of this object

    Definition Classes
    Renderable
  25. val responseClass: ResponseClass
  26. def sanitizedReason: String

    A sanitized reason phrase.

    A sanitized reason phrase. Blank if reason is invalid per RFC7230, otherwise equivalent to reason.

  27. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  28. def toString(): String
    Definition Classes
    Renderable → Any
  29. def unapply[F[_]](msg: Response[F]): Option[Response[F]]

    Helpers for for matching against a Response

  30. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Deprecated Value Members

  1. def withReason(reason: String): Status
    Annotations
    @deprecated
    Deprecated

    (Since version 0.22.6) Custom status phrases will be removed in 1.0. They are an optional feature, pose a security risk, and already unsupported on some backends.

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Renderable

Inherited from Ordered[Status]

Inherited from Comparable[Status]

Inherited from AnyRef

Inherited from Any

Ungrouped