public class InstanceAddressURL extends URL
| 构造器和说明 |
|---|
InstanceAddressURL(ServiceInstance instance,
MetadataInfo metadataInfo) |
InstanceAddressURL(ServiceInstance instance,
MetadataInfo metadataInfo,
String protocol) |
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, 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, 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, toParameterString, toParameterString, toSerializableURL, toServiceString, toServiceStringWithoutResolving, toString, valueOf, valueOf, valueOf, valueOf, valueOfpublic InstanceAddressURL(ServiceInstance instance, MetadataInfo metadataInfo)
public InstanceAddressURL(ServiceInstance instance, MetadataInfo metadataInfo, String protocol)
public ServiceInstance getInstance()
public MetadataInfo getMetadataInfo()
public String getServiceInterface()
getServiceInterface 在类中 URLpublic String getVersion()
getVersion 在类中 URLpublic String getProtocol()
getProtocol 在类中 URLpublic String getProtocolServiceKey()
getProtocolServiceKey 在类中 URLpublic String getServiceKey()
getServiceKey 在类中 URLpublic URL setProtocol(String protocol)
setProtocol 在类中 URLpublic String getAddress()
getAddress 在类中 URLpublic String getRemoteApplication()
getRemoteApplication 在类中 URLpublic String getParameter(String key)
getParameter 在类中 URLpublic String getServiceParameter(String service, String key)
getServiceParameter 在类中 URLpublic String getServiceMethodParameter(String protocolServiceKey, String method, String key)
getServiceMethodParameter 在类中 URLmethod - key - public String getMethodParameter(String method, String key)
getMethodParameter 在类中 URLpublic boolean hasServiceMethodParameter(String protocolServiceKey, String method, String key)
hasServiceMethodParameter 在类中 URLmethod - key - public boolean hasMethodParameter(String method, String key)
hasMethodParameter 在类中 URLpublic boolean hasServiceMethodParameter(String protocolServiceKey, String method)
hasServiceMethodParameter 在类中 URLmethod - public boolean hasMethodParameter(String method)
hasMethodParameter 在类中 URLpublic Map<String,String> getServiceParameters(String protocolServiceKey)
getServiceParameters 在类中 URLpublic Map<String,String> getParameters()
getParameters 在类中 URLpublic URL addParameter(String key, String value)
addParameter 在类中 URLpublic URL addParameterIfAbsent(String key, String value)
addParameterIfAbsent 在类中 URLpublic URL addServiceParameter(String protocolServiceKey, String key, String value)
public URL addServiceParameterIfAbsent(String protocolServiceKey, String key, String value)
public URL addConsumerParams(String protocolServiceKey, Map<String,String> params)
public String getAnyMethodParameter(String key)
getAnyMethodParameter 在类中 URLkey - public URLParam getUrlParam()
getUrlParam 在类中 URLpublic URLAddress getUrlAddress()
getUrlAddress 在类中 URLpublic FrameworkModel getOrDefaultFrameworkModel()
getOrDefaultFrameworkModel 在类中 URLpublic ApplicationModel getOrDefaultApplicationModel()
getOrDefaultApplicationModel 在类中 URLpublic ApplicationModel getApplicationModel()
getApplicationModel 在类中 URLpublic ScopeModel getScopeModel()
getScopeModel 在类中 URLpublic ServiceModel getServiceModel()
getServiceModel 在类中 URLCopyright © 2011–2023 The Apache Software Foundation. All rights reserved.