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 Continue: Informational
  12. val Created: Success
  13. val EarlyHints: Informational
  14. val EnhanceYourCalm: ClientError
  15. val ExpectationFailed: ClientError
  16. val FailedDependency: ClientError
  17. val Forbidden: ClientError
  18. val Found: Redirection
  19. val GatewayTimeout: ServerError
  20. val Gone: ClientError
  21. val HttpVersionNotSupported: ServerError
  22. val IMUsed: Success
  23. val ImATeapot: ClientError
  24. val InsufficientStorage: ServerError
  25. val InternalServerError: ServerError
  26. val LengthRequired: ClientError
  27. val Locked: ClientError
  28. val LoopDetected: ServerError
  29. val MethodNotAllowed: ClientError
  30. val MisdirectedRequest: ClientError
  31. val MovedPermanently: Redirection
  32. val MultiStatus: Success
  33. val MultipleChoices: Redirection
  34. val NetworkAuthenticationRequired: ServerError
  35. val NetworkConnectTimeout: ServerError
  36. val NetworkReadTimeout: ServerError
  37. val NoContent: Success
  38. val NonAuthoritativeInformation: Success
  39. val NotAcceptable: ClientError
  40. val NotExtended: ServerError
  41. val NotFound: ClientError
  42. val NotImplemented: ServerError
  43. val NotModified: Redirection
  44. val OK: Success
  45. val PartialContent: Success
  46. val PayloadTooLarge: ClientError
  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 UnprocessableEntity: 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 RequestEntityTooLarge: ClientError
    Annotations
    @deprecated
    Deprecated

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

  3. val RequestUriTooLong: ClientError
    Annotations
    @deprecated
    Deprecated

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

  4. val RequestedRangeNotSatisfiable: ClientError
    Annotations
    @deprecated
    Deprecated

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

  5. 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

Inherited from ObjectRegistry[Int, StatusCode]

Inherited from AnyRef

Inherited from Any

Ungrouped