public final class ProxyAuthorization extends HeaderString
Authorization credentials for connecting to a proxy.
Proxy-Authorization: Basic QWxhZGRpbjpvcGVuIHNlc2FtZQ==
Proxy-Authorization = "Proxy-Authorization" ":" credentials
The HTTP access authentication process is described in "HTTP Authentication: Basic and Digest Access Authentication". Unlike Authorization, the Proxy-Authorization header field applies only to the next outbound proxy that demanded authentication using the Proxy-Authenticate field. When multiple proxies are used in a chain, the Proxy-Authorization header field is consumed by the first outbound proxy that was expecting to receive credentials. A proxy MAY relay the credentials from the client request to the next proxy if that is the mechanism by which the proxies cooperatively authenticate a given request.
Modifier and Type | Method and Description |
---|---|
static ProxyAuthorization |
forString(String value)
Returns a parsed
Proxy-Authorization header. |
asString, eq, eqIC, toString
public static ProxyAuthorization forString(String value)
Proxy-Authorization
header.value
- The Proxy-Authorization
header string.Proxy-Authorization
header, or Copyright © 2018 Apache. All rights reserved.