Packages

object Status extends Serializable

Source
Status.scala
Linear Supertypes
Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Status
  2. Serializable
  3. Serializable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. sealed trait ResponseClass extends AnyRef

Value Members

  1. val Accepted: Status
  2. val AlreadyReported: Status
  3. val BadGateway: Status
  4. val BadRequest: Status
  5. val Conflict: Status
  6. val Continue: Status

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

  7. val Created: Status
  8. val EarlyHints: Status
  9. val ExpectationFailed: Status
  10. val FailedDependency: Status
  11. val Forbidden: Status
  12. val Found: Status
  13. val GatewayTimeout: Status
  14. val Gone: Status
  15. val HttpVersionNotSupported: Status
  16. val IMUsed: Status
  17. val ImATeapot: Status
  18. val InsufficientStorage: Status
  19. val InternalServerError: Status
  20. val LengthRequired: Status
  21. val Locked: Status
  22. val LoopDetected: Status
  23. val MethodNotAllowed: Status
  24. val MisdirectedRequest: Status
  25. val MovedPermanently: Status
  26. val MultiStatus: Status
  27. val MultipleChoices: Status
  28. val NetworkAuthenticationRequired: Status
  29. val NoContent: Status
  30. val NonAuthoritativeInformation: Status
  31. val NotAcceptable: Status
  32. val NotExtended: Status
  33. val NotFound: Status
  34. val NotImplemented: Status
  35. val NotModified: Status
  36. val Ok: Status
  37. val PartialContent: Status
  38. val PayloadTooLarge: Status
  39. val PaymentRequired: Status
  40. val PermanentRedirect: Status
  41. val PreconditionFailed: Status
  42. val PreconditionRequired: Status
  43. val Processing: Status
  44. val ProxyAuthenticationRequired: Status
  45. val RangeNotSatisfiable: Status
  46. val RequestHeaderFieldsTooLarge: Status
  47. val RequestTimeout: Status
  48. val ResetContent: Status
  49. val SeeOther: Status
  50. val ServiceUnavailable: Status
  51. val SwitchingProtocols: Status
  52. val TemporaryRedirect: Status
  53. val TooEarly: Status
  54. val TooManyRequests: Status
  55. val Unauthorized: Status
  56. val UnavailableForLegalReasons: Status
  57. val UnprocessableEntity: Status
  58. val UnsupportedMediaType: Status
  59. val UpgradeRequired: Status
  60. val UriTooLong: Status
  61. val UseProxy: Status
  62. val VariantAlsoNegotiates: Status
  63. def fromInt(code: Int): ParseResult[Status]
  64. implicit val http4sOrderForStatus: Order[Status]
  65. implicit val http4sShowForStatus: Show[Status]
  66. object ClientError extends ResponseClass with Product with Serializable
  67. object Informational extends ResponseClass with Product with Serializable
  68. object Redirection extends ResponseClass with Product with Serializable
  69. object ResponseClass
  70. object ServerError extends ResponseClass with Product with Serializable
  71. object Successful extends ResponseClass with Product with Serializable

Deprecated Value Members

  1. def apply(code: Int): Status
    Annotations
    @deprecated
    Deprecated

    (Since version 0.22.6) Use fromInt(Int). This does not validate the code.

  2. def apply(code: Int, reason: String = "", isEntityAllowed: Boolean = true): Status
    Annotations
    @deprecated
    Deprecated

    (Since version 0.22.6) 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.

  3. def fromIntAndReason(code: Int, reason: String): ParseResult[Status]
    Annotations
    @deprecated
    Deprecated

    (Since version 0.22.6) 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.