Packages

sealed abstract class HttpFailure extends StatusCode

Attributes
protected
Source
StatusCode.scala
Linear Supertypes
StatusCode, LazyValueBytesRenderable, Renderable, javadsl.model.StatusCode, AnyRef, Any
Known Subclasses
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. HttpFailure
  2. StatusCode
  3. LazyValueBytesRenderable
  4. Renderable
  5. StatusCode
  6. AnyRef
  7. 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 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
  2. abstract def intValue(): Int

    Returns the numeric code of this status code.

    Returns the numeric code of this status code.

    Definition Classes
    StatusCodeStatusCode
  3. 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 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
    HttpFailureStatusCodeStatusCode
  2. def isFailure(): Boolean

    Returns if the status-code represents failure.

    Returns if the status-code represents failure.

    Definition Classes
    HttpFailureStatusCodeStatusCode
  3. 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
    HttpFailureStatusCodeStatusCode
  4. def isSuccess(): Boolean

    Returns if the status-code represents success.

    Returns if the status-code represents success.

    Definition Classes
    HttpFailureStatusCodeStatusCode
  5. def render[R <: Rendering](r: R): r.type
    Definition Classes
    LazyValueBytesRenderable → Renderable
  6. def toString(): String
    Definition Classes
    LazyValueBytesRenderable → AnyRef → Any
  7. def value: String
    Definition Classes
    StatusCode → LazyValueBytesRenderable