Class ProxyAuthenticator

java.lang.Object
org.apache.nifi.processors.standard.util.ProxyAuthenticator
All Implemented Interfaces:
okhttp3.Authenticator

public class ProxyAuthenticator extends Object implements okhttp3.Authenticator
  • Nested Class Summary

    Nested classes/interfaces inherited from interface okhttp3.Authenticator

    okhttp3.Authenticator.Companion
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private final String
     
    private final String
     

    Fields inherited from interface okhttp3.Authenticator

    Companion, JAVA_NET_AUTHENTICATOR, NONE
  • Constructor Summary

    Constructors
    Constructor
    Description
    ProxyAuthenticator(String proxyUsername, String proxyPassword)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    okhttp3.Request
    authenticate(okhttp3.Route route, okhttp3.Response response)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • proxyUsername

      private final String proxyUsername
    • proxyPassword

      private final String proxyPassword
  • Constructor Details

    • ProxyAuthenticator

      public ProxyAuthenticator(String proxyUsername, String proxyPassword)
  • Method Details

    • authenticate

      @Nullable public okhttp3.Request authenticate(okhttp3.Route route, okhttp3.Response response)
      Specified by:
      authenticate in interface okhttp3.Authenticator