public class InstanceAddressURL extends URL
| Constructor and Description |
|---|
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 in class URLpublic String getGroup()
public String getVersion()
public String getProtocol()
getProtocol in class URLpublic String getProtocolServiceKey()
getProtocolServiceKey in class URLpublic String getServiceKey()
getServiceKey in class URLpublic String getAddress()
getAddress in class URLpublic String getParameter(String key)
getParameter in class URLpublic String getServiceParameter(String service, String key)
getServiceParameter in class URLpublic String getServiceMethodParameter(String protocolServiceKey, String method, String key)
getServiceMethodParameter in class URLmethod - key - public String getMethodParameter(String method, String key)
getMethodParameter in class URLpublic boolean hasServiceMethodParameter(String protocolServiceKey, String method, String key)
hasServiceMethodParameter in class URLmethod - key - public boolean hasMethodParameter(String method, String key)
hasMethodParameter in class URLpublic boolean hasServiceMethodParameter(String protocolServiceKey, String method)
hasServiceMethodParameter in class URLmethod - public boolean hasMethodParameter(String method)
hasMethodParameter in class URLpublic Map<String,String> getServiceParameters(String protocolServiceKey)
getServiceParameters in class URLpublic Map<String,String> getParameters()
getParameters in class URLpublic URL addParameter(String key, String value)
addParameter in class URLpublic URL addParameterIfAbsent(String key, String value)
addParameterIfAbsent in class 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–2022 The Apache Software Foundation. All rights reserved.