akka.http.scaladsl.model

StatusCodes

object StatusCodes extends ObjectRegistry[Int, StatusCode]

Source
StatusCode.scala
Linear Supertypes
ObjectRegistry[Int, StatusCode], AnyRef, Any
Content Hierarchy Learn more about scaladoc diagrams
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. StatusCodes
  2. ObjectRegistry
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Learn more about member selection
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: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. val Accepted: Success

  7. val AlreadyReported: Success

  8. val BadGateway: ServerError

  9. val BadRequest: ClientError

  10. val BandwidthLimitExceeded: ServerError

  11. val BlockedByParentalControls: ClientError

  12. val Conflict: ClientError

  13. val Continue: Informational

  14. val Created: Success

  15. val EnhanceYourCalm: ClientError

  16. val ExpectationFailed: ClientError

  17. val FailedDependency: ClientError

  18. val Forbidden: ClientError

  19. val Found: Redirection

  20. val GatewayTimeout: ServerError

  21. val Gone: ClientError

  22. val HTTPVersionNotSupported: ServerError

  23. val IMUsed: Success

  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 MovedPermanently: Redirection

  31. val MultiStatus: Success

  32. val MultipleChoices: Redirection

  33. val NetworkAuthenticationRequired: ServerError

  34. val NetworkConnectTimeout: ServerError

  35. val NetworkReadTimeout: ServerError

  36. val NoContent: Success

  37. val NonAuthoritativeInformation: Success

  38. val NotAcceptable: ClientError

  39. val NotExtended: ServerError

  40. val NotFound: ClientError

  41. val NotImplemented: ServerError

  42. val NotModified: Redirection

  43. val OK: Success

  44. val PartialContent: Success

  45. val PaymentRequired: ClientError

  46. val PermanentRedirect: Redirection

  47. val PreconditionFailed: ClientError

  48. val PreconditionRequired: ClientError

  49. val Processing: Informational

  50. val ProxyAuthenticationRequired: ClientError

  51. val RequestEntityTooLarge: ClientError

  52. val RequestHeaderFieldsTooLarge: ClientError

  53. val RequestTimeout: ClientError

  54. val RequestUriTooLong: ClientError

  55. val RequestedRangeNotSatisfiable: 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 TooManyRequests: ClientError

  63. val Unauthorized: ClientError

  64. val UnavailableForLegalReasons: ClientError

  65. val UnorderedCollection: ClientError

  66. val UnprocessableEntity: ClientError

  67. val UnsupportedMediaType: ClientError

  68. val UpgradeRequired: ClientError

  69. val UseProxy: Redirection

  70. val VariantAlsoNegotiates: ServerError

  71. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  72. def clone(): AnyRef

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

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

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

  75. final def eq(arg0: AnyRef): Boolean

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

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

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

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

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

    Definition Classes
    ObjectRegistry
  81. def hashCode(): Int

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

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

    Definition Classes
    AnyRef
  84. final def notify(): Unit

    Definition Classes
    AnyRef
  85. final def notifyAll(): Unit

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

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

    Definition Classes
    AnyRef
  88. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from ObjectRegistry[Int, StatusCode]

Inherited from AnyRef

Inherited from Any

Ungrouped