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

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

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

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

Inherited from ObjectRegistry[Int, StatusCode]

Inherited from AnyRef

Inherited from Any

Ungrouped