Package org.apache.dubbo.registry.client
Class OverrideInstanceAddressURL
java.lang.Object
org.apache.dubbo.common.URL
org.apache.dubbo.registry.client.InstanceAddressURL
org.apache.dubbo.registry.client.OverrideInstanceAddressURL
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionOverrideInstanceAddressURL(InstanceAddressURL originUrl) OverrideInstanceAddressURL(InstanceAddressURL originUrl, URLParam overrideParams) -
Method Summary
Modifier and TypeMethodDescriptionaddConsumerParams(String protocolServiceKey, Map<String, String> params) addParameter(String key, String value) addParameterIfAbsent(String key, String value) addParameters(Map<String, String> parameters) addParametersIfAbsent(Map<String, String> parameters) addServiceParameter(String protocolServiceKey, String key, String value) addServiceParameterIfAbsent(String protocolServiceKey, String key, String value) booleanGets method level value of the specified key.getGroup()getHost()getIp()getMethodParameter(String method, String key) getParameter(String key) getPath()intgetPort()getServiceMethodParameter(String protocolServiceKey, String method, String key) method parameter only exists in ServiceInfogetServiceParameter(String service, String key) getServiceParameters(String protocolServiceKey) Avoid calling this method in RPC call.getSide()inthashCode()booleanhasMethodParameter(String method) booleanhasMethodParameter(String method, String key) booleanhasServiceMethodParameter(String protocolServiceKey, String method) method parameter only exists in ServiceInfobooleanhasServiceMethodParameter(String protocolServiceKey, String method, String key) method parameter only exists in ServiceInfovoidsetProviderFirstParams(Set<String> providerFirstParams) toString()Methods inherited from class org.apache.dubbo.registry.client.InstanceAddressURL
getOriginalParameter, getOriginalParameters, getOriginalServiceParameter, getOriginalServiceParameters, setHost, setPath, setPort, setProtocolMethods inherited from class org.apache.dubbo.common.URL
addAttributes, addParameter, addParameter, addParameter, addParameter, addParameter, addParameter, addParameter, addParameter, addParameter, addParameter, addParameter, addParameterAndEncoded, addParameters, addParameterString, buildKey, cacheableValueOf, clearParameters, decode, encode, getAbsolutePath, getAllParameters, getApplication, getApplication, getAttribute, getAttribute, getAttributes, getAuthority, getBackupAddress, getBackupAddress, getBackupUrls, getBooleanParameter, getBooleanParameter, getCategory, getCategory, getCategory, getColonSeparatedKey, getCompatibleColonSeparatedKey, getConcatenatedParameter, getDisplayServiceKey, getGroup, getIntParameter, getIntParameter, getMethodBooleanParameter, getMethodBooleanParameter, getMethodIntParameter, getMethodIntParameter, getMethodParameter, getMethodParameter, getMethodParameter, getMethodParameter, getMethodParameter, getMethodParameter, getMethodParameter, getMethodParameter, getMethodParameter, getMethodParameterAndDecoded, getMethodParameterAndDecoded, 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, 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, setPassword, setScopeModel, setServiceInterface, setServiceModel, setUsername, toConfiguration, toFullString, toFullString, toIdentityString, toIdentityString, toInetSocketAddress, toJavaURL, toMap, toOriginalMap, toParameterString, toParameterString, toSerializableURL, toServiceString, toServiceString, toServiceStringWithoutResolving, toString, valueOf, valueOf, valueOf, valueOf, valueOf
-
Constructor Details
-
OverrideInstanceAddressURL
-
OverrideInstanceAddressURL
-
-
Method Details
-
getInstance
- Overrides:
getInstancein classInstanceAddressURL
-
getMetadataInfo
- Overrides:
getMetadataInfoin classInstanceAddressURL
-
getServiceInterface
- Overrides:
getServiceInterfacein classInstanceAddressURL
-
getGroup
- Overrides:
getGroupin classInstanceAddressURL
-
getVersion
- Overrides:
getVersionin classInstanceAddressURL
-
getProtocol
- Overrides:
getProtocolin classInstanceAddressURL
-
getProtocolServiceKey
- Overrides:
getProtocolServiceKeyin classInstanceAddressURL
-
getServiceKey
- Overrides:
getServiceKeyin classInstanceAddressURL
-
getAddress
- Overrides:
getAddressin classInstanceAddressURL
-
getHost
- Overrides:
getHostin classInstanceAddressURL
-
getPort
public int getPort()- Overrides:
getPortin classInstanceAddressURL
-
getIp
- Overrides:
getIpin classInstanceAddressURL
-
getPath
- Overrides:
getPathin classInstanceAddressURL
-
getParameter
- Overrides:
getParameterin classInstanceAddressURL
-
getServiceParameter
- Overrides:
getServiceParameterin classInstanceAddressURL
-
getServiceMethodParameter
Description copied from class:InstanceAddressURLmethod parameter only exists in ServiceInfo- Overrides:
getServiceMethodParameterin classInstanceAddressURL- Parameters:
method-key-- Returns:
-
getMethodParameter
- Overrides:
getMethodParameterin classInstanceAddressURL
-
hasServiceMethodParameter
Description copied from class:InstanceAddressURLmethod parameter only exists in ServiceInfo- Overrides:
hasServiceMethodParameterin classInstanceAddressURL- Parameters:
method-key-- Returns:
-
hasMethodParameter
- Overrides:
hasMethodParameterin classInstanceAddressURL
-
hasServiceMethodParameter
Description copied from class:InstanceAddressURLmethod parameter only exists in ServiceInfo- Overrides:
hasServiceMethodParameterin classInstanceAddressURL- Parameters:
method-- Returns:
-
hasMethodParameter
- Overrides:
hasMethodParameterin classInstanceAddressURL
-
getServiceParameters
Description copied from class:InstanceAddressURLAvoid calling this method in RPC call.- Overrides:
getServiceParametersin classInstanceAddressURL- Returns:
-
getParameters
- Overrides:
getParametersin classInstanceAddressURL
-
addParameter
- Overrides:
addParameterin classInstanceAddressURL
-
addParameterIfAbsent
- Overrides:
addParameterIfAbsentin classInstanceAddressURL
-
addServiceParameter
- Overrides:
addServiceParameterin classInstanceAddressURL
-
addServiceParameterIfAbsent
- Overrides:
addServiceParameterIfAbsentin classInstanceAddressURL
-
addConsumerParams
- Overrides:
addConsumerParamsin classInstanceAddressURL
-
getAnyMethodParameter
Description copied from class:InstanceAddressURLGets method level value of the specified key.- Overrides:
getAnyMethodParameterin classInstanceAddressURL- Parameters:
key-- Returns:
-
addParameters
- Overrides:
addParametersin classURL
-
addParametersIfAbsent
- Overrides:
addParametersIfAbsentin classURL
-
getUrlParam
- Overrides:
getUrlParamin classInstanceAddressURL
-
getUrlAddress
- Overrides:
getUrlAddressin classInstanceAddressURL
-
getOverrideParams
-
getRemoteApplication
- Overrides:
getRemoteApplicationin classInstanceAddressURL
-
getSide
- Overrides:
getSidein classInstanceAddressURL
-
getScopeModel
- Overrides:
getScopeModelin classInstanceAddressURL
-
getOrDefaultFrameworkModel
- Overrides:
getOrDefaultFrameworkModelin classInstanceAddressURL
-
getOrDefaultApplicationModel
- Overrides:
getOrDefaultApplicationModelin classInstanceAddressURL
-
getApplicationModel
- Overrides:
getApplicationModelin classInstanceAddressURL
-
getOrDefaultModuleModel
- Overrides:
getOrDefaultModuleModelin classURL
-
getServiceModel
- Overrides:
getServiceModelin classInstanceAddressURL
-
getProviderFirstParams
- Overrides:
getProviderFirstParamsin classInstanceAddressURL
-
setProviderFirstParams
- Overrides:
setProviderFirstParamsin classInstanceAddressURL
-
equals
- Overrides:
equalsin classInstanceAddressURL
-
hashCode
public int hashCode()- Overrides:
hashCodein classInstanceAddressURL
-
toString
- Overrides:
toStringin classInstanceAddressURL
-