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
WWW-Authenticate header. |
asString, eq, eqIC, toString
public static WwwAuthenticate forString(String value)
WWW-Authenticate
header.value
- The WWW-Authenticate
header string.WWW-Authenticate
header, or Copyright © 2018 Apache. All rights reserved.