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

[http://tools.ietf.org/html/rfc7231#section-6 RFC7231, Section 6]

[http://www.iana.org/assignments/http-status-codes/http-status-codes.xhtml 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
Implicitly
  1. by orderingToOrdered
  2. by any2stringadd
  3. by StringFormat
  4. by Ensuring
  5. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. def <(that: Status): Boolean
    Definition Classes
    Ordered
  2. def <=(that: Status): Boolean
    Definition Classes
    Ordered
  3. def >(that: Status): Boolean
    Definition Classes
    Ordered
  4. def >=(that: Status): Boolean
    Definition Classes
    Ordered
  5. val code: Int
  6. def compare(that: Status): Int
    Definition Classes
    Status → Ordered
  7. def compareTo(that: Status): Int
    Definition Classes
    Ordered → Comparable
  8. val isEntityAllowed: Boolean
  9. def isSuccess: Boolean
  10. val reason: String
  11. def render(writer: Writer): writer.type

    Base method for rendering this object efficiently

    Base method for rendering this object efficiently

    Definition Classes
    StatusRenderable
  12. def renderString: String

    Generates a String rendering of this object

    Generates a String rendering of this object

    Definition Classes
    Renderable
  13. val responseClass: ResponseClass
  14. def toString(): String
    Definition Classes
    Renderable → Any
  15. def unapply[F[_]](msg: Response[F]): Option[Response[F]]

    Helpers for for matching against a Response

  16. def withReason(reason: String): Status

Shadowed Implicit Value Members

  1. def <(that: Status): Boolean
    Implicit
    This member is added by an implicit conversion from Status to Ordered[Status] performed by method orderingToOrdered in scala.math.Ordered.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (status: Ordered[Status]).<(that)
    Definition Classes
    Ordered
  2. def <=(that: Status): Boolean
    Implicit
    This member is added by an implicit conversion from Status to Ordered[Status] performed by method orderingToOrdered in scala.math.Ordered.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (status: Ordered[Status]).<=(that)
    Definition Classes
    Ordered
  3. def >(that: Status): Boolean
    Implicit
    This member is added by an implicit conversion from Status to Ordered[Status] performed by method orderingToOrdered in scala.math.Ordered.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (status: Ordered[Status]).>(that)
    Definition Classes
    Ordered
  4. def >=(that: Status): Boolean
    Implicit
    This member is added by an implicit conversion from Status to Ordered[Status] performed by method orderingToOrdered in scala.math.Ordered.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (status: Ordered[Status]).>=(that)
    Definition Classes
    Ordered
  5. def compare(that: Status): Int
    Implicit
    This member is added by an implicit conversion from Status to Ordered[Status] performed by method orderingToOrdered in scala.math.Ordered.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (status: Ordered[Status]).compare(that)
    Definition Classes
    Ordered
  6. def compareTo(that: Status): Int
    Implicit
    This member is added by an implicit conversion from Status to Ordered[Status] performed by method orderingToOrdered in scala.math.Ordered.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (status: Ordered[Status]).compareTo(that)
    Definition Classes
    Ordered → Comparable