Enum Class ExceptionConverter.AdditionalStatus

java.lang.Object
java.lang.Enum<ExceptionConverter.AdditionalStatus>
com.atlassian.confluence.rest.v2.api.model.ExceptionConverter.AdditionalStatus
All Implemented Interfaces:
Serializable, Comparable<ExceptionConverter.AdditionalStatus>, Constable, javax.ws.rs.core.Response.StatusType
Enclosing class:
ExceptionConverter

public static enum ExceptionConverter.AdditionalStatus extends Enum<ExceptionConverter.AdditionalStatus> implements javax.ws.rs.core.Response.StatusType
Response.StatusTypes for HTTP response codes not supported directly by Response.Status.
  • Enum Constant Details

  • Method Details

    • values

      public static ExceptionConverter.AdditionalStatus[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static ExceptionConverter.AdditionalStatus valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getFamily

      public javax.ws.rs.core.Response.Status.Family getFamily()
      Get the class of status code
      Specified by:
      getFamily in interface javax.ws.rs.core.Response.StatusType
      Returns:
      the class of status code
    • getStatusCode

      public int getStatusCode()
      Get the associated status code
      Specified by:
      getStatusCode in interface javax.ws.rs.core.Response.StatusType
      Returns:
      the status code
    • getReasonPhrase

      public String getReasonPhrase()
      Get the reason phrase
      Specified by:
      getReasonPhrase in interface javax.ws.rs.core.Response.StatusType
      Returns:
      the reason phrase
    • toString

      public String toString()
      Get the reason phrase
      Overrides:
      toString in class Enum<ExceptionConverter.AdditionalStatus>
      Returns:
      the reason phrase