public static final class HttpClientHandler.ProxyInfo extends Object
Modifier and Type | Method and Description |
---|---|
String |
getPassword()
Gets the proxy authentication password
|
URI |
getProxyUri()
Gets the proxy URI
|
String |
getUsername()
Gets the proxy authentication user name
|
boolean |
hasCredentials()
True if authentication credentials are set
|
static HttpClientHandler.ProxyInfo |
proxyInfo(URI proxyUri)
Initializes an anonymous proxy
|
static HttpClientHandler.ProxyInfo |
proxyInfo(URI proxyUri,
String username,
String password)
Initializes an authenticated proxy
|
public static HttpClientHandler.ProxyInfo proxyInfo(URI proxyUri)
public static HttpClientHandler.ProxyInfo proxyInfo(URI proxyUri, String username, String password)
public URI getProxyUri()
public String getUsername()
public String getPassword()
public boolean hasCredentials()
Copyright © 2025 Open Identity Platform Community. All rights reserved.