Enum DigestScheme.QualityOfProtection
- java.lang.Object
-
- java.lang.Enum<DigestScheme.QualityOfProtection>
-
- org.apache.hc.client5.http.impl.auth.DigestScheme.QualityOfProtection
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<DigestScheme.QualityOfProtection>
- Enclosing class:
- DigestScheme
private static enum DigestScheme.QualityOfProtection extends java.lang.Enum<DigestScheme.QualityOfProtection>
Represent the possible values of quality of protection.
-
-
Constructor Summary
Constructors Modifier Constructor Description private
QualityOfProtection()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DigestScheme.QualityOfProtection
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static DigestScheme.QualityOfProtection[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNKNOWN
public static final DigestScheme.QualityOfProtection UNKNOWN
-
MISSING
public static final DigestScheme.QualityOfProtection MISSING
-
AUTH_INT
public static final DigestScheme.QualityOfProtection AUTH_INT
-
AUTH
public static final DigestScheme.QualityOfProtection AUTH
-
-
Method Detail
-
values
public static DigestScheme.QualityOfProtection[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (DigestScheme.QualityOfProtection c : DigestScheme.QualityOfProtection.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DigestScheme.QualityOfProtection valueOf(java.lang.String name)
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.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-