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