Class ProxyAuthenticate
- All Implemented Interfaces:
- Serializable,- Cloneable,- Header,- NameValuePair
Request authentication to access the proxy.
Example
Proxy-Authenticate: Basic
RFC2616 Specification
The Proxy-Authenticate response-header field MUST be included as part of a 407 (Proxy Authentication Required) response. The field value consists of a challenge that indicates the authentication scheme and parameters applicable to the proxy for this Request-URI.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.
See Also:
- 
Constructor SummaryConstructorsConstructorDescriptionProxyAuthenticate(String value) Constructor.ProxyAuthenticate(Supplier<String> value) Constructor with delayed value.
- 
Method SummaryModifier and TypeMethodDescriptionstatic ProxyAuthenticateStatic creator.static ProxyAuthenticateStatic creator with delayed value.Methods inherited from class org.apache.juneau.http.header.BasicStringHeaderassertString, asString, getValue, of, of, ofPair, orElseMethods inherited from class org.apache.juneau.http.header.BasicHeaderassertName, assertStringValue, equals, equalsIgnoreCase, get, getElements, getName, hashCode, isNotEmpty, isPresent, of, of, toString
- 
Constructor Details- 
ProxyAuthenticateConstructor.- Parameters:
- value- The header value.
 Can be- null .
 
- 
ProxyAuthenticateConstructor with delayed value.Header value is re-evaluated on each call to BasicStringHeader.getValue().- Parameters:
- value- The supplier of the header value.
 Can be- null .
 
 
- 
- 
Method Details- 
ofStatic creator.- Parameters:
- value- The header value.
 Can be- null .
- Returns:
- A new header bean, or null if the value isnull .
 
- 
ofStatic creator with delayed value.Header value is re-evaluated on each call to BasicStringHeader.getValue().- Parameters:
- value- The supplier of the header value.
 Can be- null .
- Returns:
- A new header bean, or null if the value isnull .
 
 
-