public class DefaultEndpointResolver extends Object implements EndpointResolver
| Constructor and Description |
|---|
DefaultEndpointResolver() |
| Modifier and Type | Method and Description |
|---|---|
String |
resolveGeneralApiEndpoint(String generalApiEndpoint)
return the general api endpoint addr, the result can be ip or ip:port.
|
String |
resolveGetServiceApiEndpoint(String getServiceApiEndpoint)
return the get service api endpoint addr, the result can be ip or ip:port.
|
public String resolveGeneralApiEndpoint(String generalApiEndpoint)
EndpointResolverresolveGeneralApiEndpoint in interface EndpointResolverpublic String resolveGetServiceApiEndpoint(String getServiceApiEndpoint)
EndpointResolverresolveGetServiceApiEndpoint in interface EndpointResolverCopyright © 2023. All rights reserved.