public class DefaultHostResolver extends Object implements HostResolver
| 限定符和类型 | 类和说明 |
|---|---|
private static class |
DefaultHostResolver.DefaultHostResolverHolder |
| 限定符和类型 | 字段和说明 |
|---|---|
private HttpProxyConfigOptions |
httpProxyConfigOptions |
| 构造器和说明 |
|---|
DefaultHostResolver()
已过时。
|
DefaultHostResolver(HttpProxyConfigOptions httpProxyConfigOptions) |
| 限定符和类型 | 方法和说明 |
|---|---|
static DefaultHostResolver |
getInstance() |
InetSocketAddress |
resolve(ProxyRuleOption httpProxy) |
InetSocketAddress |
resolve(String host,
int port) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitresolveprivate HttpProxyConfigOptions httpProxyConfigOptions
@Deprecated public DefaultHostResolver()
public DefaultHostResolver(HttpProxyConfigOptions httpProxyConfigOptions)
public final InetSocketAddress resolve(String host, int port) throws UnknownHostException
resolve 在接口中 HostResolverUnknownHostExceptionpublic InetSocketAddress resolve(ProxyRuleOption httpProxy) throws UnknownHostException
resolve 在接口中 HostResolverUnknownHostExceptionpublic static DefaultHostResolver getInstance()
Copyright © 2022 Zodiac. All rights reserved.