public static enum HttpDigest.Qop extends 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 |
create(Config config)
Parse configuration into this enum.
|
String |
getQop()
Get the QOP string.
|
static HttpDigest.Qop |
valueOf(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(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 HttpDigest.Qop create(Config config)
config - Config with wrapped enum valuepublic String getQop()
Copyright © 2018–2019 Oracle and/or its affiliates. All rights reserved. Use is subject to license terms.