public enum DigestWWWAuthenticateToken extends Enum<DigestWWWAuthenticateToken> implements HeaderToken
Enum Constant and Description |
---|
ALGORITHM |
AUTH_PARAM |
DOMAIN |
MESSAGE_QOP |
NONCE |
OPAQUE |
REALM |
STALE |
Modifier and Type | Method and Description |
---|---|
String |
getName() |
boolean |
isAllowQuoted() |
static Map<DigestWWWAuthenticateToken,String> |
parseHeader(String header) |
static DigestWWWAuthenticateToken |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DigestWWWAuthenticateToken[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DigestWWWAuthenticateToken REALM
public static final DigestWWWAuthenticateToken DOMAIN
public static final DigestWWWAuthenticateToken NONCE
public static final DigestWWWAuthenticateToken OPAQUE
public static final DigestWWWAuthenticateToken STALE
public static final DigestWWWAuthenticateToken ALGORITHM
public static final DigestWWWAuthenticateToken MESSAGE_QOP
public static final DigestWWWAuthenticateToken AUTH_PARAM
public static DigestWWWAuthenticateToken[] values()
for (DigestWWWAuthenticateToken c : DigestWWWAuthenticateToken.values()) System.out.println(c);
public static DigestWWWAuthenticateToken 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 String getName()
getName
in interface HeaderToken
public boolean isAllowQuoted()
isAllowQuoted
in interface HeaderToken
public static Map<DigestWWWAuthenticateToken,String> parseHeader(String header)
Copyright © 2020 JBoss by Red Hat. All rights reserved.