类 InstanceAddressURL
- java.lang.Object
-
- org.apache.dubbo.common.URL
-
- org.apache.dubbo.registry.client.InstanceAddressURL
-
- 所有已实现的接口:
Serializable
- 直接已知子类:
OverrideInstanceAddressURL
public class InstanceAddressURL extends URL
- 另请参阅:
- 序列化表格
-
-
构造器概要
构造器 构造器 说明 InstanceAddressURL()InstanceAddressURL(ServiceInstance instance, MetadataInfo metadataInfo)
-
方法概要
-
从类继承的方法 org.apache.dubbo.common.URL
addMethodParameter, addMethodParameterIfAbsent, addParameter, addParameter, addParameter, addParameter, addParameter, addParameter, addParameter, addParameter, addParameter, addParameter, addParameter, addParameterAndEncoded, addParameters, addParameters, addParametersIfAbsent, addParameterString, buildKey, clearParameters, decode, encode, getAbsolutePath, getAuthority, getBackupAddress, getBackupAddress, getBackupUrls, getBooleanParameter, getBooleanParameter, getColonSeparatedKey, getHost, getIntParameter, getIntParameter, getIp, getMethodBooleanParameter, getMethodBooleanParameter, getMethodIntParameter, getMethodIntParameter, getMethodParameter, getMethodParameter, getMethodParameter, getMethodParameter, getMethodParameter, getMethodParameter, getMethodParameter, getMethodParameter, getMethodParameter, getMethodParameter, getMethodParameterAndDecoded, getMethodParameterAndDecoded, getMethodParameters, getMethodParameterStrict, getMethodPositiveIntParameter, getMethodPositiveParameter, getMethodPositiveParameter, getMethodPositiveParameter, getMethodPositiveParameter, getMethodPositiveParameter, getMethodPositiveParameter, getParameter, getParameter, getParameter, getParameter, getParameter, getParameter, getParameter, getParameter, getParameter, getParameter, getParameter, getParameter, getParameter, getParameterAndDecoded, getParameterAndDecoded, getParameters, getPassword, getPathKey, getPort, 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, getUrlParameter, getUsername, hasParameter, hasServiceParameter, isAnyHost, isLocalHost, putMethodParameter, removeParameter, removeParameters, removeParameters, setAddress, setHost, setPassword, setPath, setPort, setProtocol, setServiceInterface, setUsername, toConfiguration, toFullString, toFullString, toIdentityString, toIdentityString, toInetSocketAddress, toJavaURL, toMap, toMethodParameters, toParameterString, toParameterString, toServiceString, toServiceStringWithoutResolving, toString, valueOf, valueOf, valueOf
-
-
-
-
构造器详细资料
-
InstanceAddressURL
public InstanceAddressURL()
-
InstanceAddressURL
public InstanceAddressURL(ServiceInstance instance, MetadataInfo metadataInfo)
-
-
方法详细资料
-
getInstance
public ServiceInstance getInstance()
-
getMetadataInfo
public MetadataInfo getMetadataInfo()
-
getServiceInterface
public String getServiceInterface()
- 覆盖:
getServiceInterface在类中URL
-
getGroup
public String getGroup()
-
getVersion
public String getVersion()
-
getProtocol
public String getProtocol()
- 覆盖:
getProtocol在类中URL
-
getProtocolServiceKey
public String getProtocolServiceKey()
- 覆盖:
getProtocolServiceKey在类中URL
-
getServiceKey
public String getServiceKey()
- 覆盖:
getServiceKey在类中URL
-
getAddress
public String getAddress()
- 覆盖:
getAddress在类中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)
-
-