类 InstanceAddressURL
- java.lang.Object
-
- org.apache.dubbo.common.URL
-
- org.apache.dubbo.registry.client.InstanceAddressURL
-
- 所有已实现的接口:
Serializable
- 直接已知子类:
OverrideInstanceAddressURL
public class InstanceAddressURL extends URL
- 另请参阅:
- 序列化表格
-
-
构造器概要
构造器 构造器 说明 InstanceAddressURL(ServiceInstance instance, MetadataInfo metadataInfo)InstanceAddressURL(ServiceInstance instance, MetadataInfo metadataInfo, String protocol)
-
方法概要
-
从类继承的方法 org.apache.dubbo.common.URL
addAttributes, addParameter, addParameter, addParameter, addParameter, addParameter, addParameter, addParameter, addParameter, addParameter, addParameter, addParameter, addParameterAndEncoded, addParameters, addParameters, addParametersIfAbsent, addParameterString, buildKey, cacheableValueOf, clearParameters, decode, encode, getAbsolutePath, getAllParameters, getApplication, getApplication, getAttribute, getAttribute, getAttributes, getAuthority, getBackupAddress, getBackupAddress, getBackupUrls, getBooleanParameter, getBooleanParameter, getCategory, getCategory, getCategory, getColonSeparatedKey, getConcatenatedParameter, getDisplayServiceKey, getGroup, getIntParameter, getIntParameter, getMethodBooleanParameter, getMethodBooleanParameter, getMethodIntParameter, getMethodIntParameter, getMethodParameter, getMethodParameter, getMethodParameter, getMethodParameter, getMethodParameter, getMethodParameter, getMethodParameter, getMethodParameter, getMethodParameter, getMethodParameter, getMethodParameterAndDecoded, getMethodParameterAndDecoded, getMethodParameterStrict, getMethodPositiveIntParameter, getMethodPositiveParameter, getMethodPositiveParameter, getMethodPositiveParameter, getMethodPositiveParameter, getMethodPositiveParameter, getMethodPositiveParameter, getOrDefaultModuleModel, getParameter, getParameter, getParameter, getParameter, getParameter, getParameter, getParameter, getParameter, getParameter, getParameter, getParameter, getParameter, getParameter, getParameterAndDecoded, getParameterAndDecoded, getParameters, getPassword, getPathKey, getPort, getPositiveIntParameter, getPositiveParameter, getPositiveParameter, getPositiveParameter, getPositiveParameter, getPositiveParameter, getPositiveParameter, getPositiveServiceParameter, getPositiveServiceParameter, getPositiveServiceParameter, getPositiveServiceParameter, getPositiveServiceParameter, getPositiveServiceParameter, getRawParameter, getServiceMethodParameter, getServiceMethodParameter, getServiceMethodParameter, getServiceMethodParameter, getServiceMethodParameter, getServiceMethodParameter, getServiceMethodParameterAndDecoded, getServiceMethodParameterAndDecoded, getServiceMethodParameterStrict, getServiceName, getServiceParameter, getServiceParameter, getServiceParameter, getServiceParameter, getServiceParameter, getServiceParameter, getServiceParameter, getServiceParameter, getServiceParameter, getSide, getUrlParameter, getUserInformation, getUsername, getVersion, hasAttribute, hasParameter, hasServiceParameter, isAnyHost, isLocalHost, putAttribute, putMethodParameter, removeAttribute, removeParameter, removeParameters, removeParameters, setAddress, setHost, setPassword, setPath, setPort, setProtocol, setScopeModel, setServiceInterface, setServiceModel, setUsername, toConfiguration, toFullString, toFullString, toIdentityString, toIdentityString, toInetSocketAddress, toJavaURL, toMap, toParameterString, toParameterString, toSerializableURL, toServiceString, toServiceStringWithoutResolving, toString, valueOf, valueOf, valueOf, valueOf, valueOf
-
-
-
-
构造器详细资料
-
InstanceAddressURL
public InstanceAddressURL(ServiceInstance instance, MetadataInfo metadataInfo)
-
InstanceAddressURL
public InstanceAddressURL(ServiceInstance instance, MetadataInfo metadataInfo, String protocol)
-
-
方法详细资料
-
getInstance
public ServiceInstance getInstance()
-
getMetadataInfo
public MetadataInfo getMetadataInfo()
-
getServiceInterface
public String getServiceInterface()
- 覆盖:
getServiceInterface在类中URL
-
getVersion
public String getVersion()
- 覆盖:
getVersion在类中URL
-
getProtocol
public String getProtocol()
- 覆盖:
getProtocol在类中URL
-
getProtocolServiceKey
public String getProtocolServiceKey()
- 覆盖:
getProtocolServiceKey在类中URL
-
getServiceKey
public String getServiceKey()
- 覆盖:
getServiceKey在类中URL
-
getAddress
public String getAddress()
- 覆盖:
getAddress在类中URL
-
getRemoteApplication
public String getRemoteApplication()
- 覆盖:
getRemoteApplication在类中URL
-
getParameter
public String getParameter(String key)
- 覆盖:
getParameter在类中URL
-
getServiceParameter
public String getServiceParameter(String service, String key)
- 覆盖:
getServiceParameter在类中URL
-
getServiceMethodParameter
public String getServiceMethodParameter(String protocolServiceKey, String method, String key)
method parameter only exists in ServiceInfo- 覆盖:
getServiceMethodParameter在类中URL- 参数:
method-key-- 返回:
-
getMethodParameter
public String getMethodParameter(String method, String key)
- 覆盖:
getMethodParameter在类中URL
-
hasServiceMethodParameter
public boolean hasServiceMethodParameter(String protocolServiceKey, String method, String key)
method parameter only exists in ServiceInfo- 覆盖:
hasServiceMethodParameter在类中URL- 参数:
method-key-- 返回:
-
hasMethodParameter
public boolean hasMethodParameter(String method, String key)
- 覆盖:
hasMethodParameter在类中URL
-
hasServiceMethodParameter
public boolean hasServiceMethodParameter(String protocolServiceKey, String method)
method parameter only exists in ServiceInfo- 覆盖:
hasServiceMethodParameter在类中URL- 参数:
method-- 返回:
-
hasMethodParameter
public boolean hasMethodParameter(String method)
- 覆盖:
hasMethodParameter在类中URL
-
getServiceParameters
public Map<String,String> getServiceParameters(String protocolServiceKey)
Avoid calling this method in RPC call.- 覆盖:
getServiceParameters在类中URL- 返回:
-
getParameters
public Map<String,String> getParameters()
- 覆盖:
getParameters在类中URL
-
addParameter
public URL addParameter(String key, String value)
- 覆盖:
addParameter在类中URL
-
addParameterIfAbsent
public URL addParameterIfAbsent(String key, String value)
- 覆盖:
addParameterIfAbsent在类中URL
-
addServiceParameter
public URL addServiceParameter(String protocolServiceKey, String key, String value)
-
addServiceParameterIfAbsent
public URL addServiceParameterIfAbsent(String protocolServiceKey, String key, String value)
-
addConsumerParams
public URL addConsumerParams(String protocolServiceKey, Map<String,String> params)
-
getAnyMethodParameter
public String getAnyMethodParameter(String key)
Gets method level value of the specified key.- 覆盖:
getAnyMethodParameter在类中URL- 参数:
key-- 返回:
-
getUrlParam
public URLParam getUrlParam()
- 覆盖:
getUrlParam在类中URL
-
getUrlAddress
public URLAddress getUrlAddress()
- 覆盖:
getUrlAddress在类中URL
-
getOrDefaultFrameworkModel
public FrameworkModel getOrDefaultFrameworkModel()
- 覆盖:
getOrDefaultFrameworkModel在类中URL
-
getOrDefaultApplicationModel
public ApplicationModel getOrDefaultApplicationModel()
- 覆盖:
getOrDefaultApplicationModel在类中URL
-
getApplicationModel
public ApplicationModel getApplicationModel()
- 覆盖:
getApplicationModel在类中URL
-
getScopeModel
public ScopeModel getScopeModel()
- 覆盖:
getScopeModel在类中URL
-
getServiceModel
public ServiceModel getServiceModel()
- 覆盖:
getServiceModel在类中URL
-
-