question: private Proxy nextProxy ( ) { if ( userSpecifiedProxy != null ) { hasNextProxy = false ; return userSpecifiedProxy ; } if ( proxySelectorProxies != null ) { while ( proxySelectorProxies . hasNext ( ) ) { Proxy candidate = proxySelectorProxies . next ( ) ; if ( candidate . type ( ) != Proxy . Type . DIRECT ) { return candidate ; } } } hasNextProxy = false ; return Proxy . NO_PROXY ; }
target:  Returns the next proxy to try. May be PROXY.NO_PROXY but never null. 