sealed abstract class StatusCode extends javadsl.model.StatusCode with LazyValueBytesRenderable

The result status code of an HTTP response.

Source
StatusCode.scala
Linear Supertypes
LazyValueBytesRenderable, Renderable, javadsl.model.StatusCode, AnyRef, Any
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. StatusCode
  2. LazyValueBytesRenderable
  3. Renderable
  4. StatusCode
  5. AnyRef
  6. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. 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
    StatusCodeStatusCode
  2. 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
    StatusCodeStatusCode
  3. abstract def intValue(): Int

    Returns the numeric code of this status code.

    Returns the numeric code of this status code.

    Definition Classes
    StatusCodeStatusCode
  4. abstract def isFailure(): Boolean

    Returns if the status-code represents failure.

    Returns if the status-code represents failure.

    Definition Classes
    StatusCodeStatusCode
  5. 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
    StatusCodeStatusCode
  6. abstract def isSuccess(): Boolean

    Returns if the status-code represents success.

    Returns if the status-code represents success.

    Definition Classes
    StatusCodeStatusCode
  7. abstract def reason(): String

    Returns the reason message for this status code.

    Returns the reason message for this status code.

    Definition Classes
    StatusCodeStatusCode

Concrete Value Members

  1. def render[R <: Rendering](r: R): r.type
    Definition Classes
    LazyValueBytesRenderable → Renderable
  2. def toString(): String
    Definition Classes
    LazyValueBytesRenderable → AnyRef → Any
  3. def value: String
    Definition Classes
    StatusCode → LazyValueBytesRenderable