类 ServiceConfigURL
- java.lang.Object
-
- org.apache.dubbo.common.URL
-
- org.apache.dubbo.common.url.component.ServiceConfigURL
-
- 所有已实现的接口:
Serializable
- 直接已知子类:
URLBuilder
public class ServiceConfigURL extends URL
- 另请参阅:
- 序列化表格
-
-
构造器概要
构造器 构造器 说明 ServiceConfigURL()ServiceConfigURL(String protocol, String host, int port)ServiceConfigURL(String protocol, String host, int port, String path)ServiceConfigURL(String protocol, String host, int port, String[] pairs)ServiceConfigURL(String protocol, String host, int port, String path, String... pairs)ServiceConfigURL(String protocol, String host, int port, String path, Map<String,String> parameters)ServiceConfigURL(String protocol, String host, int port, Map<String,String> parameters)ServiceConfigURL(String protocol, String username, String password, String host, int port, String path)ServiceConfigURL(String protocol, String username, String password, String host, int port, String path, String... pairs)ServiceConfigURL(String protocol, String username, String password, String host, int port, String path, Map<String,String> parameters)ServiceConfigURL(String protocol, String username, String password, String host, int port, String path, Map<String,String> parameters, Map<String,Object> attributes)ServiceConfigURL(URLAddress urlAddress, URLParam urlParam, Map<String,Object> attributes)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 URLaddAttributes(Map<String,Object> attributes)ObjectgetAttribute(String key)Map<String,Object>getAttributes()booleanhasAttribute(String key)ServiceConfigURLputAttribute(String key, Object obj)URLremoveAttribute(String key)StringtoFullString()StringtoIdentityString()StringtoParameterString()StringtoString()-
从类继承的方法 org.apache.dubbo.common.URL
addParameter, addParameter, addParameter, addParameter, addParameter, addParameter, addParameter, addParameter, addParameter, addParameter, addParameter, addParameter, addParameterAndEncoded, addParameterIfAbsent, addParameters, addParameters, addParametersIfAbsent, addParameterString, buildKey, cacheableValueOf, clearParameters, decode, encode, equals, getAbsolutePath, getAddress, getAnyMethodParameter, getApplication, getApplication, getAuthority, getBackupAddress, getBackupAddress, getBackupUrls, getBooleanParameter, getBooleanParameter, getCategory, getCategory, getCategory, getColonSeparatedKey, getConcatenatedParameter, getDisplayServiceKey, getGroup, getGroup, getHost, getIntParameter, getIntParameter, getIp, getMethodBooleanParameter, getMethodBooleanParameter, getMethodIntParameter, getMethodIntParameter, getMethodParameter, getMethodParameter, 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, getParameter, getParameterAndDecoded, getParameterAndDecoded, getParameters, getParameters, getPassword, getPath, getPathKey, getPort, getPort, getPositiveIntParameter, getPositiveParameter, getPositiveParameter, getPositiveParameter, getPositiveParameter, getPositiveParameter, getPositiveParameter, getPositiveServiceParameter, getPositiveServiceParameter, getPositiveServiceParameter, getPositiveServiceParameter, getPositiveServiceParameter, getPositiveServiceParameter, getProtocol, getProtocolServiceKey, getRawParameter, getRemoteApplication, getServiceInterface, getServiceKey, getServiceMethodParameter, getServiceMethodParameter, getServiceMethodParameter, getServiceMethodParameter, getServiceMethodParameter, getServiceMethodParameter, getServiceMethodParameter, getServiceMethodParameterAndDecoded, getServiceMethodParameterAndDecoded, getServiceMethodParameterStrict, getServiceName, getServiceParameter, getServiceParameter, getServiceParameter, getServiceParameter, getServiceParameter, getServiceParameter, getServiceParameter, getServiceParameter, getServiceParameter, getServiceParameter, getServiceParameters, getSide, getSide, getUrlAddress, getUrlParam, getUrlParameter, getUsername, getVersion, getVersion, hashCode, hasMethodParameter, hasMethodParameter, hasParameter, hasServiceMethodParameter, hasServiceMethodParameter, hasServiceParameter, isAnyHost, isLocalHost, putMethodParameter, removeParameter, removeParameters, removeParameters, setAddress, setHost, setPassword, setPath, setPort, setProtocol, setServiceInterface, setUsername, toConfiguration, toFullString, toIdentityString, toInetSocketAddress, toJavaURL, toMap, toParameterString, toSerializableURL, toServiceString, toServiceStringWithoutResolving, toString, valueOf, valueOf, valueOf, valueOf, valueOf
-
-
-
-
构造器详细资料
-
ServiceConfigURL
public ServiceConfigURL()
-
ServiceConfigURL
public ServiceConfigURL(URLAddress urlAddress, URLParam urlParam, Map<String,Object> attributes)
-
ServiceConfigURL
public ServiceConfigURL(String protocol, String host, int port, Map<String,String> parameters)
-
ServiceConfigURL
public ServiceConfigURL(String protocol, String host, int port, String path, String... pairs)
-
ServiceConfigURL
public ServiceConfigURL(String protocol, String host, int port, String path, Map<String,String> parameters)
-
ServiceConfigURL
public ServiceConfigURL(String protocol, String username, String password, String host, int port, String path)
-
ServiceConfigURL
public ServiceConfigURL(String protocol, String username, String password, String host, int port, String path, String... pairs)
-
ServiceConfigURL
public ServiceConfigURL(String protocol, String username, String password, String host, int port, String path, Map<String,String> parameters)
-
-
方法详细资料
-
getAttributes
public Map<String,Object> getAttributes()
- 覆盖:
getAttributes在类中URL
-
getAttribute
public Object getAttribute(String key)
- 覆盖:
getAttribute在类中URL
-
putAttribute
public ServiceConfigURL putAttribute(String key, Object obj)
- 覆盖:
putAttribute在类中URL
-
removeAttribute
public URL removeAttribute(String key)
- 覆盖:
removeAttribute在类中URL
-
hasAttribute
public boolean hasAttribute(String key)
- 覆盖:
hasAttribute在类中URL
-
toFullString
public String toFullString()
- 覆盖:
toFullString在类中URL
-
toIdentityString
public String toIdentityString()
- 覆盖:
toIdentityString在类中URL
-
toParameterString
public String toParameterString()
- 覆盖:
toParameterString在类中URL
-
-