public static enum HttpDigest.Qop extends java.lang.Enum<HttpDigest.Qop>
| Enum Constant and Description |
|---|
AUTH
QOP "auth" - stands for "authentication".
|
NONE
Legacy approach - used internally to parse headers.
|
| Modifier and Type | Method and Description |
|---|---|
static HttpDigest.Qop |
fromConfig(Config config)
Parse configuration into this enum.
|
java.lang.String |
getQop()
Get the QOP string.
|
static HttpDigest.Qop |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static HttpDigest.Qop[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HttpDigest.Qop NONE
HttpDigestAuthProvider.Builder.noDigestQop().
Only AUTH is supported, as auth-int requires access to message body.public static final HttpDigest.Qop AUTH
public static HttpDigest.Qop[] values()
for (HttpDigest.Qop c : HttpDigest.Qop.values()) System.out.println(c);
public static HttpDigest.Qop valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic static HttpDigest.Qop fromConfig(Config config)
config - Config with wrapped enum valuepublic java.lang.String getQop()
Copyright © 2018, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.