object StatusCodes extends ObjectRegistry[Int, StatusCode]

Source
StatusCode.scala
Linear Supertypes
ObjectRegistry[Int, StatusCode], AnyRef, Any
Content Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. StatusCodes
  2. ObjectRegistry
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. final case class ClientError extends HttpFailure with Product with Serializable
  2. final case class CustomStatusCode extends StatusCode with Product with Serializable
  3. sealed abstract class HttpFailure extends StatusCode
    Attributes
    protected
  4. sealed abstract class HttpSuccess extends StatusCode
    Attributes
    protected
  5. final case class Informational extends HttpSuccess with Product with Serializable
  6. final case class Redirection extends HttpSuccess with Product with Serializable
  7. final case class ServerError extends HttpFailure with Product with Serializable
  8. final case class Success extends HttpSuccess with Product with Serializable

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val Accepted: Success
  5. val AlreadyReported: Success
  6. val BadGateway: ServerError
  7. val BadRequest: ClientError
  8. val BandwidthLimitExceeded: ServerError
  9. val BlockedByParentalControls: ClientError
  10. val Conflict: ClientError
  11. val ContentTooLarge: ClientError
  12. val Continue: Informational
  13. val Created: Success
  14. val EarlyHints: Informational
  15. val EnhanceYourCalm: ClientError
  16. val ExpectationFailed: ClientError
  17. val FailedDependency: ClientError
  18. val Forbidden: ClientError
  19. val Found: Redirection
  20. val GatewayTimeout: ServerError
  21. val Gone: ClientError
  22. val HttpVersionNotSupported: ServerError
  23. val IMUsed: Success
  24. val ImATeapot: ClientError
  25. val InsufficientStorage: ServerError
  26. val InternalServerError: ServerError
  27. val LengthRequired: ClientError
  28. val Locked: ClientError
  29. val LoopDetected: ServerError
  30. val MethodNotAllowed: ClientError
  31. val MisdirectedRequest: ClientError
  32. val MovedPermanently: Redirection
  33. val MultiStatus: Success
  34. val MultipleChoices: Redirection
  35. val NetworkAuthenticationRequired: ServerError
  36. val NetworkConnectTimeout: ServerError
  37. val NetworkReadTimeout: ServerError
  38. val NoContent: Success
  39. val NonAuthoritativeInformation: Success
  40. val NotAcceptable: ClientError
  41. val NotExtended: ServerError
  42. val NotFound: ClientError
  43. val NotImplemented: ServerError
  44. val NotModified: Redirection
  45. val OK: Success
  46. val PartialContent: Success
  47. val PaymentRequired: ClientError
  48. val PermanentRedirect: Redirection
  49. val PreconditionFailed: ClientError
  50. val PreconditionRequired: ClientError
  51. val Processing: Informational
  52. val ProxyAuthenticationRequired: ClientError
  53. val RangeNotSatisfiable: ClientError
  54. val RequestHeaderFieldsTooLarge: ClientError
  55. val RequestTimeout: ClientError
  56. val ResetContent: Success
  57. val RetryWith: ClientError
  58. val SeeOther: Redirection
  59. val ServiceUnavailable: ServerError
  60. val SwitchingProtocols: Informational
  61. val TemporaryRedirect: Redirection
  62. val TooEarly: ClientError
  63. val TooManyRequests: ClientError
  64. val Unauthorized: ClientError
  65. val UnavailableForLegalReasons: ClientError
  66. val UnprocessableContent: ClientError
  67. val UnsupportedMediaType: ClientError
  68. val UpgradeRequired: ClientError
  69. val UriTooLong: ClientError
  70. val UseProxy: Redirection
  71. val VariantAlsoNegotiates: ServerError
  72. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  73. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  74. def custom(intValue: Int, reason: String, defaultMessage: String = ""): StatusCode

    Create a custom status code with default behavior for its value region.

  75. def custom(intValue: Int, reason: String, defaultMessage: String, isSuccess: Boolean, allowsEntity: Boolean): StatusCode

    Create a custom status code and allow full customization of behavior.

    Create a custom status code and allow full customization of behavior. The value of allowsEntity changes the parser behavior: If it is set to true, a response with this status code is required to include a Content-Length header to be parsed correctly when keep-alive is enabled (which is the default in HTTP/1.1). If allowsEntity is false, an entity is never expected.

  76. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  77. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  78. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  79. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  80. def getForKey(key: Int): Option[StatusCode]
    Definition Classes
    ObjectRegistry
  81. def getForKeyCaseInsensitive(key: String)(implicit conv: <:<[String, Int]): Option[StatusCode]
    Definition Classes
    ObjectRegistry
  82. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  83. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  84. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  85. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  86. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  87. final def register(key: Int, obj: StatusCode): obj.type
    Attributes
    protected
    Definition Classes
    ObjectRegistry
  88. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  89. def toString(): String
    Definition Classes
    AnyRef → Any
  90. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  91. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  92. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Deprecated Value Members

  1. val HTTPVersionNotSupported: ServerError
    Annotations
    @deprecated
    Deprecated

    (Since version Akka HTTP 10.1.11) deprecated in favor of HttpVersionNotSupported

  2. val PayloadTooLarge: ClientError
    Annotations
    @deprecated
    Deprecated

    (Since version 1.1.0) deprecated in favor of ContentTooLarge

  3. val RequestEntityTooLarge: ClientError
    Annotations
    @deprecated
    Deprecated

    (Since version Akka HTTP 10.1.11) deprecated in favor of PayloadTooLarge, which was later deprecated in favor of ContentTooLarge (please switch to ContentTooLarge)

  4. val RequestUriTooLong: ClientError
    Annotations
    @deprecated
    Deprecated

    (Since version Akka HTTP 10.1.11) deprecated in favor of UriTooLong

  5. val RequestedRangeNotSatisfiable: ClientError
    Annotations
    @deprecated
    Deprecated

    (Since version Akka HTTP 10.1.11) deprecated in favor of RangeNotSatisfiable

  6. val UnorderedCollection: ClientError
    Annotations
    @deprecated
    Deprecated

    (Since version Akka HTTP 10.1.6) Non-standard Unordered Collection should not be used, deprecated in favor of TooEarly

  7. val UnprocessableEntity: ClientError
    Annotations
    @deprecated
    Deprecated

    (Since version 1.1.0) deprecated in favor of UnprocessableContent

Inherited from ObjectRegistry[Int, StatusCode]

Inherited from AnyRef

Inherited from Any

Ungrouped