public enum Authentication extends Enum<Authentication>
DataStreamRecord
.Enum Constant and Description |
---|
BASIC
Basic.
|
DIGEST
Digest.
|
NONE
None.
|
Modifier and Type | Method and Description |
---|---|
static Authentication |
getAuthentication(String keyword)
Get the authentication type corresponding to a keyword.
|
static Authentication |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Authentication[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Authentication NONE
public static final Authentication BASIC
public static final Authentication DIGEST
public static Authentication[] values()
for (Authentication c : Authentication.values()) System.out.println(c);
public static Authentication 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 static Authentication getAuthentication(String keyword)
keyword
- authentication keywordCopyright © 2002-2022 CS GROUP. All rights reserved.