Enum ResourceStatus

  • All Implemented Interfaces:
    java.io.Serializable , kotlin.Comparable

    
    public enum ResourceStatus
    extends Enum<ResourceStatus>
                        

    Enumeration of status codes of resources.

    COPY FROM spring-web-5.3.4

    • Constructor Detail

    • Method Detail

      • value

         final Integer value()

        Return the integer value of this status code.

      • is1xxInformational

         final Boolean is1xxInformational()

        Whether this status code is in the HTTP series

        This is a shortcut for checking the value of .series.

        Since:

        4.0

      • is2xxSuccessful

         final Boolean is2xxSuccessful()

        Whether this status code is in the HTTP series

        This is a shortcut for checking the value of .series.

        Since:

        4.0

      • is3xxRedirection

         final Boolean is3xxRedirection()

        Whether this status code is in the HTTP series

        This is a shortcut for checking the value of .series.

        Since:

        4.0

      • is4xxClientError

         final Boolean is4xxClientError()

        Whether this status code is in the HTTP series

        This is a shortcut for checking the value of .series.

        Since:

        4.0

      • is5xxServerError

         final Boolean is5xxServerError()

        Whether this status code is in the HTTP series

        This is a shortcut for checking the value of .series.

        Since:

        4.0

      • toString

         String toString()

        Return a string representation of this status code.

      • valueOf

         final ResourceStatus valueOf(String value)

        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

      • values

         final Array<ResourceStatus> values()

        Returns an array containing the constants of this enum type, in the order they're declared.

        This method may be used to iterate over the constants.