Object

spray.http

StatusCodes

Related Doc: package http

Permalink

object StatusCodes extends ObjectRegistry[Int, StatusCode]

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. case class ClientError extends HttpFailure with Product with Serializable

    Permalink
  2. 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. case class Informational extends HttpSuccess with Product with Serializable

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

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

    Permalink
  8. 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 EnhanceYourCalm: ClientError

    Permalink
  14. val ExpectationFailed: ClientError

    Permalink
  15. val FailedDependency: ClientError

    Permalink
  16. val Forbidden: ClientError

    Permalink
  17. val Found: Redirection

    Permalink
  18. val GatewayTimeout: ServerError

    Permalink
  19. val Gone: ClientError

    Permalink
  20. val HTTPVersionNotSupported: ServerError

    Permalink
  21. val IMUsed: Success

    Permalink
  22. val InsufficientStorage: ServerError

    Permalink
  23. val InternalServerError: ServerError

    Permalink
  24. val LengthRequired: ClientError

    Permalink
  25. val Locked: ClientError

    Permalink
  26. val LoopDetected: ServerError

    Permalink
  27. val MethodNotAllowed: ClientError

    Permalink
  28. val MovedPermanently: Redirection

    Permalink
  29. val MultiStatus: Success

    Permalink
  30. val MultipleChoices: Redirection

    Permalink
  31. val NetworkAuthenticationRequired: ServerError

    Permalink
  32. val NetworkConnectTimeout: ServerError

    Permalink
  33. val NetworkReadTimeout: ServerError

    Permalink
  34. val NoContent: Success

    Permalink
  35. val NonAuthoritativeInformation: Success

    Permalink
  36. val NotAcceptable: ClientError

    Permalink
  37. val NotExtended: ServerError

    Permalink
  38. val NotFound: ClientError

    Permalink
  39. val NotImplemented: ServerError

    Permalink
  40. val NotModified: Redirection

    Permalink
  41. val OK: Success

    Permalink
  42. val PartialContent: Success

    Permalink
  43. val PaymentRequired: ClientError

    Permalink
  44. val PermanentRedirect: Redirection

    Permalink
  45. val PreconditionFailed: ClientError

    Permalink
  46. val PreconditionRequired: ClientError

    Permalink
  47. val Processing: Informational

    Permalink
  48. val ProxyAuthenticationRequired: ClientError

    Permalink
  49. val RequestEntityTooLarge: ClientError

    Permalink
  50. val RequestHeaderFieldsTooLarge: ClientError

    Permalink
  51. val RequestTimeout: ClientError

    Permalink
  52. val RequestUriTooLong: ClientError

    Permalink
  53. val RequestedRangeNotSatisfiable: ClientError

    Permalink
  54. val ResetContent: Success

    Permalink
  55. val RetryWith: ClientError

    Permalink
  56. val SeeOther: Redirection

    Permalink
  57. val ServiceUnavailable: ServerError

    Permalink
  58. val SwitchingProtocols: Informational

    Permalink
  59. val TemporaryRedirect: Redirection

    Permalink
  60. val TooManyRequests: ClientError

    Permalink
  61. val Unauthorized: ClientError

    Permalink
  62. val UnavailableForLegalReasons: ClientError

    Permalink
  63. val UnorderedCollection: ClientError

    Permalink
  64. val UnprocessableEntity: ClientError

    Permalink
  65. val UnsupportedMediaType: ClientError

    Permalink
  66. val UpgradeRequired: ClientError

    Permalink
  67. val UseProxy: Redirection

    Permalink
  68. val VariantAlsoNegotiates: ServerError

    Permalink
  69. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  71. final def eq(arg0: AnyRef): Boolean

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

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

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

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

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

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

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

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

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

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

    Permalink
    Attributes
    protected
    Definition Classes
    ObjectRegistry
    Annotations
    @tailrec()
  82. def registerCustom(intValue: Int, reason: String, defaultMessage: String = ""): StatusCode

    Permalink

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

  83. def registerCustom(intValue: Int, reason: String, defaultMessage: String, isSuccess: Boolean, allowsEntity: Boolean): StatusCode

    Permalink

    Create and register a custom status code and allow full customization of behavior.

    Create and register 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.

  84. def registry: Map[Int, StatusCode]

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

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

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

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

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

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

Inherited from ObjectRegistry[Int, StatusCode]

Inherited from AnyRef

Inherited from Any

Ungrouped