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 EnhanceYourCalm: ClientError
  14. val ExpectationFailed: ClientError
  15. val FailedDependency: ClientError
  16. val Forbidden: ClientError
  17. val Found: Redirection
  18. val GatewayTimeout: ServerError
  19. val Gone: ClientError
  20. val HTTPVersionNotSupported: ServerError
  21. val IMUsed: Success
  22. val ImATeapot: ClientError
  23. val InsufficientStorage: ServerError
  24. val InternalServerError: ServerError
  25. val LengthRequired: ClientError
  26. val Locked: ClientError
  27. val LoopDetected: ServerError
  28. val MethodNotAllowed: ClientError
  29. val MovedPermanently: Redirection
  30. val MultiStatus: Success
  31. val MultipleChoices: Redirection
  32. val NetworkAuthenticationRequired: ServerError
  33. val NetworkConnectTimeout: ServerError
  34. val NetworkReadTimeout: ServerError
  35. val NoContent: Success
  36. val NonAuthoritativeInformation: Success
  37. val NotAcceptable: ClientError
  38. val NotExtended: ServerError
  39. val NotFound: ClientError
  40. val NotImplemented: ServerError
  41. val NotModified: Redirection
  42. val OK: Success
  43. val PartialContent: Success
  44. val PaymentRequired: ClientError
  45. val PermanentRedirect: Redirection
  46. val PreconditionFailed: ClientError
  47. val PreconditionRequired: ClientError
  48. val Processing: Informational
  49. val ProxyAuthenticationRequired: ClientError
  50. val RequestEntityTooLarge: ClientError
  51. val RequestHeaderFieldsTooLarge: ClientError
  52. val RequestTimeout: ClientError
  53. val RequestUriTooLong: ClientError
  54. val RequestedRangeNotSatisfiable: ClientError
  55. val ResetContent: Success
  56. val RetryWith: ClientError
  57. val SeeOther: Redirection
  58. val ServiceUnavailable: ServerError
  59. val SwitchingProtocols: Informational
  60. val TemporaryRedirect: Redirection
  61. val TooManyRequests: ClientError
  62. val Unauthorized: ClientError
  63. val UnavailableForLegalReasons: ClientError
  64. val UnorderedCollection: ClientError
  65. val UnprocessableEntity: ClientError
  66. val UnsupportedMediaType: ClientError
  67. val UpgradeRequired: ClientError
  68. val UseProxy: Redirection
  69. val VariantAlsoNegotiates: ServerError
  70. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  71. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  72. def custom(intValue: Int, reason: String, defaultMessage: String = ""): StatusCode

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

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

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

Inherited from ObjectRegistry[Int, StatusCode]

Inherited from AnyRef

Inherited from Any

Ungrouped