public final class ProxyAuthenticate extends HeaderString
Request authentication to access the proxy.
Proxy-Authenticate: Basic
Proxy-Authenticate = "Proxy-Authenticate" ":" 1#challenge
The HTTP access authentication process is described in "HTTP Authentication: Basic and Digest Access Authentication". Unlike WWW-Authenticate, the Proxy-Authenticate header field applies only to the current connection and SHOULD NOT be passed on to downstream clients. However, an intermediate proxy might need to obtain its own credentials by requesting them from the downstream client, which in some circumstances will appear as if the proxy is forwarding the Proxy-Authenticate header field.
Modifier and Type | Method and Description |
---|---|
static ProxyAuthenticate |
forString(String value)
Returns a parsed
Proxy-Authenticate header. |
asString, eq, eqIC, toString
public static ProxyAuthenticate forString(String value)
Proxy-Authenticate
header.value
- The Proxy-Authenticate
header string.Proxy-Authenticate
header, or Copyright © 2018 Apache. All rights reserved.