Class JreProxySelector

  • All Implemented Interfaces:
    org.eclipse.aether.repository.ProxySelector

    public final class JreProxySelector
    extends java.lang.Object
    implements org.eclipse.aether.repository.ProxySelector
    A proxy selector that uses the JRE's global proxy selector. In combination with the system property java.net.useSystemProxies, this proxy selector can be employed to pick up the proxy configuration from the operating system, see Java Networking and Proxies for details. The JRE's global authenticator is used to look up credentials for a proxy when needed.
    • Constructor Summary

      Constructors 
      Constructor Description
      JreProxySelector()
      Creates a new proxy selector that delegates to ProxySelector.getDefault().
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.eclipse.aether.repository.Proxy getProxy​(org.eclipse.aether.repository.RemoteRepository repository)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • JreProxySelector

        public JreProxySelector()
        Creates a new proxy selector that delegates to ProxySelector.getDefault().
    • Method Detail

      • getProxy

        public org.eclipse.aether.repository.Proxy getProxy​(org.eclipse.aether.repository.RemoteRepository repository)
        Specified by:
        getProxy in interface org.eclipse.aether.repository.ProxySelector