o

akka.http.scaladsl.model

StatusCodes

object StatusCodes extends ObjectRegistry[Int, StatusCode]

Source
StatusCode.scala
Linear Supertypes
ObjectRegistry[Int, StatusCode], AnyRef, Any
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. All

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 PaymentRequired: ClientError
  47. val PermanentRedirect: Redirection
  48. val PreconditionFailed: ClientError
  49. val PreconditionRequired: ClientError
  50. val Processing: Informational
  51. val ProxyAuthenticationRequired: ClientError
  52. val RequestEntityTooLarge: ClientError
  53. val RequestHeaderFieldsTooLarge: ClientError
  54. val RequestTimeout: ClientError
  55. val RequestUriTooLong: ClientError
  56. val RequestedRangeNotSatisfiable: ClientError
  57. val ResetContent: Success
  58. val RetryWith: ClientError
  59. val SeeOther: Redirection
  60. val ServiceUnavailable: ServerError
  61. val SwitchingProtocols: Informational
  62. val TemporaryRedirect: Redirection
  63. val TooEarly: ClientError
  64. val TooManyRequests: ClientError
  65. val Unauthorized: ClientError
  66. val UnavailableForLegalReasons: ClientError
  67. val UnprocessableEntity: ClientError
  68. val UnsupportedMediaType: ClientError
  69. val UpgradeRequired: ClientError
  70. val UseProxy: Redirection
  71. val VariantAlsoNegotiates: ServerError
  72. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  73. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  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: Any): Boolean
    Definition Classes
    AnyRef → Any
  78. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  79. final def getClass(): Class[_]
    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( ... )
  91. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  92. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Deprecated Value Members

  1. val UnorderedCollection: ClientError
    Annotations
    @deprecated
    Deprecated

    (Since version 10.1.6) Non-standard Unordered Collection should not be used, deprecated in favor of Too Early

Inherited from ObjectRegistry[Int, StatusCode]

Inherited from AnyRef

Inherited from Any

Ungrouped