public class ProxyAuthenticator extends Object implements okhttp3.Authenticator
| Modifier and Type | Field and Description |
|---|---|
private String |
proxyPassword |
private String |
proxyUsername |
| Constructor and Description |
|---|
ProxyAuthenticator() |
ProxyAuthenticator(String proxyUsername,
String proxyPassword) |
| Modifier and Type | Method and Description |
|---|---|
okhttp3.Request |
authenticate(okhttp3.Route route,
okhttp3.Response response) |
void |
setProxyPassword(String proxyPassword) |
void |
setProxyUsername(String proxyUsername) |
public void setProxyUsername(String proxyUsername)
public void setProxyPassword(String proxyPassword)
@Nullable public okhttp3.Request authenticate(okhttp3.Route route, okhttp3.Response response) throws IOException
authenticate in interface okhttp3.AuthenticatorIOExceptionCopyright © 2023 Apache NiFi Project. All rights reserved.