sealed abstract class StatusCode extends javadsl.model.StatusCode with LazyValueBytesRenderable
The result status code of an HTTP response.
- Source
- StatusCode.scala
- Alphabetic
- By Inheritance
- StatusCode
- LazyValueBytesRenderable
- Renderable
- StatusCode
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
Abstract Value Members
-
abstract
def
allowsEntity(): Boolean
Returns if a response with this status-code is allowed to be accompanied with a non-empty entity.
Returns if a response with this status-code is allowed to be accompanied with a non-empty entity.
- Definition Classes
- StatusCode → StatusCode
-
abstract
def
defaultMessage(): String
Returns the default message to be included as the content of an Http response with this status-code.
Returns the default message to be included as the content of an Http response with this status-code.
- Definition Classes
- StatusCode → StatusCode
-
abstract
def
intValue(): Int
Returns the numeric code of this status code.
Returns the numeric code of this status code.
- Definition Classes
- StatusCode → StatusCode
-
abstract
def
isFailure(): Boolean
Returns if the status-code represents failure.
Returns if the status-code represents failure.
- Definition Classes
- StatusCode → StatusCode
-
abstract
def
isRedirection(): Boolean
Returns if the status-code is a redirection status code.
Returns if the status-code is a redirection status code.
- Definition Classes
- StatusCode → StatusCode
-
abstract
def
isSuccess(): Boolean
Returns if the status-code represents success.
Returns if the status-code represents success.
- Definition Classes
- StatusCode → StatusCode
-
abstract
def
reason(): String
Returns the reason message for this status code.
Returns the reason message for this status code.
- Definition Classes
- StatusCode → StatusCode
Concrete Value Members
-
def
render[R <: Rendering](r: R): r.type
- Definition Classes
- LazyValueBytesRenderable → Renderable
-
def
toString(): String
- Definition Classes
- LazyValueBytesRenderable → AnyRef → Any
-
def
value: String
- Definition Classes
- StatusCode → LazyValueBytesRenderable