public class InstanceAddressURL extends URL
| 构造器和说明 |
|---|
InstanceAddressURL() |
InstanceAddressURL(ServiceInstance instance,
MetadataInfo metadataInfo) |
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, valueOfpublic InstanceAddressURL()
public InstanceAddressURL(ServiceInstance instance, MetadataInfo metadataInfo)
public ServiceInstance getInstance()
public MetadataInfo getMetadataInfo()
public String getServiceInterface()
getServiceInterface 在类中 URLpublic String getGroup()
public String getVersion()
public String getProtocol()
getProtocol 在类中 URLpublic String getProtocolServiceKey()
getProtocolServiceKey 在类中 URLpublic String getServiceKey()
getServiceKey 在类中 URLpublic String getAddress()
getAddress 在类中 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)
Copyright © 2011–2021 The Apache Software Foundation. All rights reserved.