Enum Class Response.ResponseModelScope

Object
Enum<Response.ResponseModelScope>
se.curity.identityserver.sdk.web.Response.ResponseModelScope
All Implemented Interfaces:
Serializable, Comparable<Response.ResponseModelScope>, Constable
Enclosing interface:
Response

public static enum Response.ResponseModelScope extends Enum<Response.ResponseModelScope>
The scope of a response model.

Use HttpStatus to specify a response model for a particular HttpStatus code.

  • Enum Constant Details

  • Method Details

    • values

      public static Response.ResponseModelScope[] 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 Response.ResponseModelScope 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
    • statusCodeScope

      public static Response.ResponseModelScope statusCodeScope(int statusCode)