Class StatusCodes.ServerError

    • Constructor Summary

      Constructors 
      Constructor Description
      ServerError​(int intValue, java.lang.String reason, java.lang.String defaultMessage)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String defaultMessage()
      Returns the default message to be included as the content of an Http response with this status-code.
      int intValue()
      Returns the numeric code of this status code.
      java.lang.String reason()
      Returns the reason message for this status code.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface scala.Equals

        canEqual, equals
      • Methods inherited from interface scala.Product

        productArity, productElement, productElementName, productElementNames, productIterator, productPrefix
    • Constructor Detail

      • ServerError

        public ServerError​(int intValue,
                           java.lang.String reason,
                           java.lang.String defaultMessage)
    • Method Detail

      • 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 java.lang.String reason()
        Description copied from class: StatusCode
        Returns the reason message for this status code.
        Specified by:
        reason in class StatusCode
      • defaultMessage

        public java.lang.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