public class InstanceAddressURL extends URL
| Constructor and Description |
|---|
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, 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, 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 in class URLpublic String getVersion()
getVersion in class URLpublic String getProtocol()
getProtocol in class URLpublic String getProtocolServiceKey()
getProtocolServiceKey in class URLpublic String getServiceKey()
getServiceKey in class URLpublic URL setProtocol(String protocol)
setProtocol in class URLpublic String getAddress()
getAddress in class URLpublic String getRemoteApplication()
getRemoteApplication 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)
public String getAnyMethodParameter(String key)
getAnyMethodParameter in class URLkey - public URLParam getUrlParam()
getUrlParam in class URLpublic URLAddress getUrlAddress()
getUrlAddress in class URLpublic FrameworkModel getOrDefaultFrameworkModel()
getOrDefaultFrameworkModel in class URLpublic ApplicationModel getOrDefaultApplicationModel()
getOrDefaultApplicationModel in class URLpublic ApplicationModel getApplicationModel()
getApplicationModel in class URLpublic ScopeModel getScopeModel()
getScopeModel in class URLpublic ServiceModel getServiceModel()
getServiceModel in class URLCopyright © 2011–2022 The Apache Software Foundation. All rights reserved.