Object

akka.http.scaladsl.model

StatusCodes

Related Doc: package model

Permalink

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

Type Members

  1. final case class ClientError extends HttpFailure with Product with Serializable

    Permalink
  2. final case class CustomStatusCode extends StatusCode with Product with Serializable

    Permalink
  3. sealed abstract class HttpFailure extends StatusCode

    Permalink
    Attributes
    protected
  4. sealed abstract class HttpSuccess extends StatusCode

    Permalink
    Attributes
    protected
  5. final case class Informational extends HttpSuccess with Product with Serializable

    Permalink
  6. final case class Redirection extends HttpSuccess with Product with Serializable

    Permalink
  7. final case class ServerError extends HttpFailure with Product with Serializable

    Permalink
  8. final case class Success extends HttpSuccess with Product with Serializable

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. val Accepted: Success

    Permalink
  5. val AlreadyReported: Success

    Permalink
  6. val BadGateway: ServerError

    Permalink
  7. val BadRequest: ClientError

    Permalink
  8. val BandwidthLimitExceeded: ServerError

    Permalink
  9. val BlockedByParentalControls: ClientError

    Permalink
  10. val Conflict: ClientError

    Permalink
  11. val Continue: Informational

    Permalink
  12. val Created: Success

    Permalink
  13. val EarlyHints: Informational

    Permalink
  14. val EnhanceYourCalm: ClientError

    Permalink
  15. val ExpectationFailed: ClientError

    Permalink
  16. val FailedDependency: ClientError

    Permalink
  17. val Forbidden: ClientError

    Permalink
  18. val Found: Redirection

    Permalink
  19. val GatewayTimeout: ServerError

    Permalink
  20. val Gone: ClientError

    Permalink
  21. val HTTPVersionNotSupported: ServerError

    Permalink
  22. val IMUsed: Success

    Permalink
  23. val ImATeapot: ClientError

    Permalink
  24. val InsufficientStorage: ServerError

    Permalink
  25. val InternalServerError: ServerError

    Permalink
  26. val LengthRequired: ClientError

    Permalink
  27. val Locked: ClientError

    Permalink
  28. val LoopDetected: ServerError

    Permalink
  29. val MethodNotAllowed: ClientError

    Permalink
  30. val MisdirectedRequest: ClientError

    Permalink
  31. val MovedPermanently: Redirection

    Permalink
  32. val MultiStatus: Success

    Permalink
  33. val MultipleChoices: Redirection

    Permalink
  34. val NetworkAuthenticationRequired: ServerError

    Permalink
  35. val NetworkConnectTimeout: ServerError

    Permalink
  36. val NetworkReadTimeout: ServerError

    Permalink
  37. val NoContent: Success

    Permalink
  38. val NonAuthoritativeInformation: Success

    Permalink
  39. val NotAcceptable: ClientError

    Permalink
  40. val NotExtended: ServerError

    Permalink
  41. val NotFound: ClientError

    Permalink
  42. val NotImplemented: ServerError

    Permalink
  43. val NotModified: Redirection

    Permalink
  44. val OK: Success

    Permalink
  45. val PartialContent: Success

    Permalink
  46. val PaymentRequired: ClientError

    Permalink
  47. val PermanentRedirect: Redirection

    Permalink
  48. val PreconditionFailed: ClientError

    Permalink
  49. val PreconditionRequired: ClientError

    Permalink
  50. val Processing: Informational

    Permalink
  51. val ProxyAuthenticationRequired: ClientError

    Permalink
  52. val RequestEntityTooLarge: ClientError

    Permalink
  53. val RequestHeaderFieldsTooLarge: ClientError

    Permalink
  54. val RequestTimeout: ClientError

    Permalink
  55. val RequestUriTooLong: ClientError

    Permalink
  56. val RequestedRangeNotSatisfiable: ClientError

    Permalink
  57. val ResetContent: Success

    Permalink
  58. val RetryWith: ClientError

    Permalink
  59. val SeeOther: Redirection

    Permalink
  60. val ServiceUnavailable: ServerError

    Permalink
  61. val SwitchingProtocols: Informational

    Permalink
  62. val TemporaryRedirect: Redirection

    Permalink
  63. val TooManyRequests: ClientError

    Permalink
  64. val Unauthorized: ClientError

    Permalink
  65. val UnavailableForLegalReasons: ClientError

    Permalink
  66. val UnorderedCollection: ClientError

    Permalink
  67. val UnprocessableEntity: ClientError

    Permalink
  68. val UnsupportedMediaType: ClientError

    Permalink
  69. val UpgradeRequired: ClientError

    Permalink
  70. val UseProxy: Redirection

    Permalink
  71. val VariantAlsoNegotiates: ServerError

    Permalink
  72. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  73. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  74. def custom(intValue: Int, reason: String, defaultMessage: String = ""): StatusCode

    Permalink

    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

    Permalink

    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

    Permalink
    Definition Classes
    AnyRef
  77. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  78. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  79. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  80. def getForKey(key: Int): Option[StatusCode]

    Permalink
    Definition Classes
    ObjectRegistry
  81. def getForKeyCaseInsensitive(key: String)(implicit conv: <:<[String, Int]): Option[StatusCode]

    Permalink
    Definition Classes
    ObjectRegistry
  82. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  83. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  84. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  85. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  86. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  87. final def register(key: Int, obj: StatusCode): obj.type

    Permalink
    Attributes
    protected
    Definition Classes
    ObjectRegistry
  88. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  89. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  90. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  91. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  92. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from ObjectRegistry[Int, StatusCode]

Inherited from AnyRef

Inherited from Any

Ungrouped