public enum EOCSPResponseStatus extends Enum<EOCSPResponseStatus> implements com.helger.commons.state.ISuccessIndicator, com.helger.commons.id.IHasIntID
| Enum Constant and Description |
|---|
INTERNAL_ERROR |
MALFORMED_REQUEST |
SIG_REQUIRED |
SUCCESSFUL |
TRY_LATER |
UNAUTHORIZED |
| Modifier and Type | Method and Description |
|---|---|
static EOCSPResponseStatus |
getFromValueOrNull(int nID) |
int |
getID() |
boolean |
isSuccess() |
static EOCSPResponseStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EOCSPResponseStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EOCSPResponseStatus SUCCESSFUL
public static final EOCSPResponseStatus MALFORMED_REQUEST
public static final EOCSPResponseStatus INTERNAL_ERROR
public static final EOCSPResponseStatus TRY_LATER
public static final EOCSPResponseStatus SIG_REQUIRED
public static final EOCSPResponseStatus UNAUTHORIZED
public static EOCSPResponseStatus[] values()
for (EOCSPResponseStatus c : EOCSPResponseStatus.values()) System.out.println(c);
public static EOCSPResponseStatus valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic int getID()
getID in interface com.helger.commons.id.IHasIntIDpublic boolean isSuccess()
isSuccess in interface com.helger.commons.state.ISuccessIndicator@Nullable public static EOCSPResponseStatus getFromValueOrNull(int nID)
Copyright © 2016–2021 Philip Helger. All rights reserved.