object StatusCode extends StatusCodes
For a description of the behavior of apply
, safeApply
and unsafeApply
methods, see sttp.model.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- StatusCode
- StatusCodes
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
val
Accepted: StatusCode
- Definition Classes
- StatusCodes
-
val
AlreadyReported: StatusCode
- Definition Classes
- StatusCodes
-
val
BadGateway: StatusCode
- Definition Classes
- StatusCodes
-
val
BadRequest: StatusCode
- Definition Classes
- StatusCodes
-
val
Conflict: StatusCode
- Definition Classes
- StatusCodes
-
val
Continue: StatusCode
- Definition Classes
- StatusCodes
-
val
Created: StatusCode
- Definition Classes
- StatusCodes
-
val
EarlyHints: StatusCode
- Definition Classes
- StatusCodes
-
val
ExpectationFailed: StatusCode
- Definition Classes
- StatusCodes
-
val
FailedDependency: StatusCode
- Definition Classes
- StatusCodes
-
val
Forbidden: StatusCode
- Definition Classes
- StatusCodes
-
val
Found: StatusCode
- Definition Classes
- StatusCodes
-
val
GatewayTimeout: StatusCode
- Definition Classes
- StatusCodes
-
val
Gone: StatusCode
- Definition Classes
- StatusCodes
-
val
HttpVersionNotSupported: StatusCode
- Definition Classes
- StatusCodes
-
val
ImUsed: StatusCode
- Definition Classes
- StatusCodes
-
val
InsufficientStorage: StatusCode
- Definition Classes
- StatusCodes
-
val
InternalServerError: StatusCode
- Definition Classes
- StatusCodes
-
val
LengthRequired: StatusCode
- Definition Classes
- StatusCodes
-
val
Locked: StatusCode
- Definition Classes
- StatusCodes
-
val
LoopDetected: StatusCode
- Definition Classes
- StatusCodes
-
val
MethodNotAllowed: StatusCode
- Definition Classes
- StatusCodes
-
val
MisdirectedRequest: StatusCode
- Definition Classes
- StatusCodes
-
val
MovedPermanently: StatusCode
- Definition Classes
- StatusCodes
-
val
MultiStatus: StatusCode
- Definition Classes
- StatusCodes
-
val
MultipleChoices: StatusCode
- Definition Classes
- StatusCodes
-
val
NetworkAuthenticationRequired: StatusCode
- Definition Classes
- StatusCodes
-
val
NoContent: StatusCode
- Definition Classes
- StatusCodes
-
val
NonAuthoritativeInformation: StatusCode
- Definition Classes
- StatusCodes
-
val
NotAcceptable: StatusCode
- Definition Classes
- StatusCodes
-
val
NotExtended: StatusCode
- Definition Classes
- StatusCodes
-
val
NotFound: StatusCode
- Definition Classes
- StatusCodes
-
val
NotImplemented: StatusCode
- Definition Classes
- StatusCodes
-
val
NotModified: StatusCode
- Definition Classes
- StatusCodes
-
val
Ok: StatusCode
- Definition Classes
- StatusCodes
-
val
PartialContent: StatusCode
- Definition Classes
- StatusCodes
-
val
PayloadTooLarge: StatusCode
- Definition Classes
- StatusCodes
-
val
PaymentRequired: StatusCode
- Definition Classes
- StatusCodes
-
val
PermanentRedirect: StatusCode
- Definition Classes
- StatusCodes
-
val
PreconditionFailed: StatusCode
- Definition Classes
- StatusCodes
-
val
PreconditionRequired: StatusCode
- Definition Classes
- StatusCodes
-
val
Processing: StatusCode
- Definition Classes
- StatusCodes
-
val
ProxyAuthenticationRequired: StatusCode
- Definition Classes
- StatusCodes
-
val
RangeNotSatisfiable: StatusCode
- Definition Classes
- StatusCodes
-
val
RequestHeaderFieldsTooLarge: StatusCode
- Definition Classes
- StatusCodes
-
val
RequestTimeout: StatusCode
- Definition Classes
- StatusCodes
-
val
ResetContent: StatusCode
- Definition Classes
- StatusCodes
-
val
SeeOther: StatusCode
- Definition Classes
- StatusCodes
-
val
ServiceUnavailable: StatusCode
- Definition Classes
- StatusCodes
-
val
SwitchingProtocols: StatusCode
- Definition Classes
- StatusCodes
-
val
TemporaryRedirect: StatusCode
- Definition Classes
- StatusCodes
-
def
TooEarly: StatusCode
- Definition Classes
- StatusCodes
-
val
TooManyRequests: StatusCode
- Definition Classes
- StatusCodes
-
val
Unauthorized: StatusCode
- Definition Classes
- StatusCodes
-
val
UnavailableForLegalReasons: StatusCode
- Definition Classes
- StatusCodes
-
val
UnprocessableEntity: StatusCode
- Definition Classes
- StatusCodes
-
val
UnsupportedMediaType: StatusCode
- Definition Classes
- StatusCodes
-
val
UpgradeRequired: StatusCode
- Definition Classes
- StatusCodes
-
val
UriTooLong: StatusCode
- Definition Classes
- StatusCodes
-
val
UseProxy: StatusCode
- Definition Classes
- StatusCodes
-
val
VariantAlsoNegotiates: StatusCode
- Definition Classes
- StatusCodes
- def apply(code: Int): StatusCode
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def safeApply(code: Int): Either[String, StatusCode]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
unsafeApply(code: Int): StatusCode
- Exceptions thrown
IllegalArgumentException
If the status code is out of range.
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated