@Header(value="WWW-Authenticate") public final class WwwAuthenticate extends HeaderString
Indicates the authentication scheme that should be used to access the requested entity.
WWW-Authenticate: Basic
WWW-Authenticate = "WWW-Authenticate" ":" 1#challenge
The HTTP access authentication process is described in "HTTP Authentication: Basic and Digest Access Authentication". User agents are advised to take special care in parsing the WWW-Authenticate field value as it might contain more than one challenge, or if more than one WWW-Authenticate header field is provided, the contents of a challenge itself can contain a comma-separated list of authentication parameters.
Modifier and Type | Method and Description |
---|---|
static WwwAuthenticate |
forString(String value)
Returns a parsed
|
asString, eq, eqIC, toString
public static WwwAuthenticate forString(String value)
value
- The Copyright © 2016–2020 The Apache Software Foundation. All rights reserved.