类 OverrideInstanceAddressURL
- java.lang.Object
-
- org.apache.dubbo.common.URL
-
- org.apache.dubbo.registry.client.InstanceAddressURL
-
- org.apache.dubbo.registry.client.OverrideInstanceAddressURL
-
- 所有已实现的接口:
Serializable
public class OverrideInstanceAddressURL extends InstanceAddressURL
- 另请参阅:
- 序列化表格
-
-
构造器概要
构造器 构造器 说明 OverrideInstanceAddressURL(InstanceAddressURL originUrl)OverrideInstanceAddressURL(InstanceAddressURL originUrl, Map<String,String> overrideParams)
-
方法概要
-
从类继承的方法 org.apache.dubbo.registry.client.InstanceAddressURL
getServiceString
-
从类继承的方法 org.apache.dubbo.common.URL
addMethodParameter, addMethodParameterIfAbsent, addParameter, addParameter, addParameter, addParameter, addParameter, addParameter, addParameter, addParameter, addParameter, addParameter, addParameter, addParameterAndEncoded, addParameters, addParameterString, buildKey, clearParameters, decode, encode, getAbsolutePath, getAuthority, getBackupAddress, getBackupAddress, getBackupUrls, getBooleanParameter, getBooleanParameter, getColonSeparatedKey, getIntParameter, getIntParameter, 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, 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
-
-
-
-
构造器详细资料
-
OverrideInstanceAddressURL
public OverrideInstanceAddressURL(InstanceAddressURL originUrl)
-
OverrideInstanceAddressURL
public OverrideInstanceAddressURL(InstanceAddressURL originUrl, Map<String,String> overrideParams)
-
-
方法详细资料
-
getInstance
public ServiceInstance getInstance()
- 覆盖:
getInstance在类中InstanceAddressURL
-
getMetadataInfo
public MetadataInfo getMetadataInfo()
- 覆盖:
getMetadataInfo在类中InstanceAddressURL
-
getServiceInterface
public String getServiceInterface()
-
getGroup
public String getGroup()
- 覆盖:
getGroup在类中InstanceAddressURL
-
getVersion
public String getVersion()
- 覆盖:
getVersion在类中InstanceAddressURL
-
getProtocol
public String getProtocol()
- 覆盖:
getProtocol在类中InstanceAddressURL
-
getProtocolServiceKey
public String getProtocolServiceKey()
-
getServiceKey
public String getServiceKey()
从类复制的说明:URLThe format of return value is '{group}/{interfaceName}:{version}'- 覆盖:
getServiceKey在类中InstanceAddressURL- 返回:
-
getAddress
public String getAddress()
- 覆盖:
getAddress在类中InstanceAddressURL
-
getIp
public String getIp()
从类复制的说明:URLFetch IP address for this URL.Pls. note that IP should be used instead of Host when to compare with socket's address or to search in a map which use address as its key.
-
getPath
public String getPath()
- 覆盖:
getPath在类中InstanceAddressURL
-
getParameter
public String getParameter(String key)
- 覆盖:
getParameter在类中InstanceAddressURL
-
getServiceMethodParameter
public String getServiceMethodParameter(String protocolServiceKey, String method, String key)
从类复制的说明:InstanceAddressURLmethod parameter only exists in ServiceInfo
-
getMethodParameter
public String getMethodParameter(String method, String key)
- 覆盖:
getMethodParameter在类中InstanceAddressURL
-
hasServiceMethodParameter
public boolean hasServiceMethodParameter(String protocolServiceKey, String method, String key)
从类复制的说明:InstanceAddressURLmethod parameter only exists in ServiceInfo
-
hasMethodParameter
public boolean hasMethodParameter(String method, String key)
- 覆盖:
hasMethodParameter在类中InstanceAddressURL
-
hasServiceMethodParameter
public boolean hasServiceMethodParameter(String protocolServiceKey, String method)
从类复制的说明:InstanceAddressURLmethod parameter only exists in ServiceInfo
-
hasMethodParameter
public boolean hasMethodParameter(String method)
- 覆盖:
hasMethodParameter在类中InstanceAddressURL
-
getServiceParameters
public Map<String,String> getServiceParameters(String protocolServiceKey)
从类复制的说明:InstanceAddressURLAvoid calling this method in RPC call.
-
getParameters
public Map<String,String> getParameters()
- 覆盖:
getParameters在类中InstanceAddressURL
-
addParameter
public URL addParameter(String key, String value)
- 覆盖:
addParameter在类中InstanceAddressURL
-
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)
- 覆盖:
addConsumerParams在类中InstanceAddressURL
-
addParameters
public URL addParameters(Map<String,String> parameters)
从类复制的说明:URLAdd parameters to a new url.- 覆盖:
addParameters在类中URL- 参数:
parameters- parameters in key-value pairs- 返回:
- A new URL
-
addParametersIfAbsent
public URL addParametersIfAbsent(Map<String,String> parameters)
- 覆盖:
addParametersIfAbsent在类中URL
-
equals
public boolean equals(Object o)
- 覆盖:
equals在类中InstanceAddressURL
-
hashCode
public int hashCode()
- 覆盖:
hashCode在类中InstanceAddressURL
-
toString
public String toString()
- 覆盖:
toString在类中InstanceAddressURL
-
-