Interface ProxyDetectorImpl.AuthenticationProvider

  • Enclosing class:
    ProxyDetectorImpl

    static interface ProxyDetectorImpl.AuthenticationProvider
    This interface makes unit testing easier by avoiding direct calls to static methods.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.net.PasswordAuthentication requestPasswordAuthentication​(java.lang.String host, java.net.InetAddress addr, int port, java.lang.String protocol, java.lang.String prompt, java.lang.String scheme)  
    • Method Detail

      • requestPasswordAuthentication

        java.net.PasswordAuthentication requestPasswordAuthentication​(java.lang.String host,
                                                                      java.net.InetAddress addr,
                                                                      int port,
                                                                      java.lang.String protocol,
                                                                      java.lang.String prompt,
                                                                      java.lang.String scheme)