@Configuration public class ProxySelectorConfig extends ProxySelector implements org.springframework.beans.factory.InitializingBean
Modifier and Type | Class and Description |
---|---|
static class |
ProxySelectorConfig.ProxyConfigItem |
Constructor and Description |
---|
ProxySelectorConfig(SystemParametersServer systemParametersServer) |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
void |
connectFailed(URI uri,
SocketAddress sa,
IOException ioe) |
void |
refresh()
刷新
|
List<Proxy> |
select(URI uri) |
getDefault, setDefault
public static final String KEY
public ProxySelectorConfig(SystemParametersServer systemParametersServer)
public List<Proxy> select(URI uri)
select
in class ProxySelector
public void connectFailed(URI uri, SocketAddress sa, IOException ioe)
connectFailed
in class ProxySelector
public void refresh()
Copyright © 2017–2022. All rights reserved.