Enum Class ApiResponse.Status

java.lang.Object
java.lang.Enum<ApiResponse.Status>
se.swedenconnect.bankid.idp.authn.api.ApiResponse.Status
All Implemented Interfaces:
Serializable, Comparable<ApiResponse.Status>, Constable
Enclosing class:
ApiResponse

public static enum ApiResponse.Status extends Enum<ApiResponse.Status>
Representation of the status of the response.
  • Enum Constant Details

    • NOT_STARTED

      public static final ApiResponse.Status NOT_STARTED
      The operation against the BankID Server has not been started.
    • IN_PROGRESS

      public static final ApiResponse.Status IN_PROGRESS
      The response is in progress.
    • ERROR

      public static final ApiResponse.Status ERROR
      Error response.
    • COMPLETE

      public static final ApiResponse.Status COMPLETE
      The operation has been completed.
    • CANCEL

      public static final ApiResponse.Status CANCEL
      The operation has been cancelled.
  • Method Details

    • values

      public static ApiResponse.Status[] 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 ApiResponse.Status 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