Package org.apache.nifi.web.client
Class BasicProxyAuthenticator
java.lang.Object
org.apache.nifi.web.client.BasicProxyAuthenticator
- All Implemented Interfaces:
okhttp3.Authenticator
OkHttp Authenticator supporting Proxy Authentication using HTTP Basic credentials
-
Nested Class Summary
Nested classes/interfaces inherited from interface okhttp3.Authenticator
okhttp3.Authenticator.Companion
-
Field Summary
FieldsFields inherited from interface okhttp3.Authenticator
Companion, JAVA_NET_AUTHENTICATOR, NONE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionokhttp3.Request
authenticate
(okhttp3.Route route, okhttp3.Response response)
-
Field Details
-
PROXY_AUTHORIZATION_HEADER
- See Also:
-
credentials
-
-
Constructor Details
-
BasicProxyAuthenticator
BasicProxyAuthenticator(String credentials)
-
-
Method Details
-
authenticate
public okhttp3.Request authenticate(okhttp3.Route route, okhttp3.Response response) - Specified by:
authenticate
in interfaceokhttp3.Authenticator
-