public class DefaultEndpointResolver extends Object implements EndpointResolver
| 构造器和说明 |
|---|
DefaultEndpointResolver() |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
resolveGeneralApiEndpoint(String generalApiEndpoint)
return the general api endpoint addr, the result can be ip or ip:port. if you don't do
anything like DefaultEndpointResolver. the http library will implement the dns resolve.
|
String |
resolveGetServiceApiEndpoint(String getServiceApiEndpoint)
return the get service api endpoint addr, the result can be ip or ip:port. if you don't do
anything like DefaultEndpointResolver. the http library will implement the dns resolve.
|
public String resolveGeneralApiEndpoint(String generalApiEndpoint)
EndpointResolverresolveGeneralApiEndpoint 在接口中 EndpointResolverpublic String resolveGetServiceApiEndpoint(String getServiceApiEndpoint)
EndpointResolverresolveGetServiceApiEndpoint 在接口中 EndpointResolverCopyright © 2022. All rights reserved.