Class ProxyOptions.SimpleProxySelector

  • Enclosing class:
    ProxyOptions

    private static final class ProxyOptions.SimpleProxySelector
    extends java.net.ProxySelector
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.util.List<java.net.Proxy> proxyList  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private SimpleProxySelector​(java.net.Proxy proxy)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void connectFailed​(java.net.URI uri, java.net.SocketAddress sa, java.io.IOException e)  
      java.util.List<java.net.Proxy> select​(java.net.URI uri)  
      java.lang.String toString()  
      • Methods inherited from class java.net.ProxySelector

        getDefault, of, setDefault
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • proxyList

        private final java.util.List<java.net.Proxy> proxyList
    • Constructor Detail

      • SimpleProxySelector

        private SimpleProxySelector​(java.net.Proxy proxy)
    • Method Detail

      • select

        public java.util.List<java.net.Proxy> select​(java.net.URI uri)
        Specified by:
        select in class java.net.ProxySelector
      • connectFailed

        public void connectFailed​(java.net.URI uri,
                                  java.net.SocketAddress sa,
                                  java.io.IOException e)
        Specified by:
        connectFailed in class java.net.ProxySelector
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object