Class StatusCodes.Informational

All Implemented Interfaces:
LazyValueBytesRenderable, Renderable, Serializable, scala.Equals, scala.Product
Enclosing class:
StatusCodes

public static final class StatusCodes.Informational extends StatusCodes.HttpSuccess implements scala.Product, Serializable
See Also:
  • Constructor Details

    • Informational

      public Informational(int intValue, String reason, String defaultMessage)
  • Method Details

    • intValue

      public int intValue()
      Description copied from class: StatusCode
      Returns the numeric code of this status code.
      Specified by:
      intValue in class StatusCode
    • reason

      public String reason()
      Description copied from class: StatusCode
      Returns the reason message for this status code.
      Specified by:
      reason in class StatusCode
    • defaultMessage

      public String defaultMessage()
      Description copied from class: StatusCode
      Returns the default message to be included as the content of an Http response with this status-code.
      Specified by:
      defaultMessage in class StatusCode
    • allowsEntity

      public boolean allowsEntity()
      Description copied from class: StatusCode
      Returns if a response with this status-code is allowed to be accompanied with a non-empty entity.
      Specified by:
      allowsEntity in class StatusCode
    • isRedirection

      public boolean isRedirection()
      Description copied from class: StatusCode
      Returns if the status-code is a redirection status code.
      Specified by:
      isRedirection in class StatusCode