类 URL
- java.lang.Object
-
- org.apache.dubbo.common.URL
-
- com.alibaba.dubbo.common.URL
-
- 所有已实现的接口:
Serializable
@Deprecated public class URL extends org.apache.dubbo.common.URL
已过时。- 另请参阅:
- 序列化表格
-
-
构造器概要
构造器 构造器 说明 URL(String protocol, String host, int port)已过时。URL(String protocol, String host, int port, String path)已过时。URL(String protocol, String host, int port, String[] pairs)已过时。URL(String protocol, String host, int port, String path, String... pairs)已过时。URL(String protocol, String host, int port, String path, Map<String,String> parameters)已过时。URL(String protocol, String host, int port, Map<String,String> parameters)已过时。URL(String protocol, String username, String password, String host, int port, String path)已过时。URL(String protocol, String username, String password, String host, int port, String path, String... pairs)已过时。URL(String protocol, String username, String password, String host, int port, String path, Map<String,String> parameters)已过时。URL(org.apache.dubbo.common.URL url)已过时。
-
方法概要
所有方法 静态方法 实例方法 具体方法 已过时的方法 修饰符和类型 方法 说明 URLaddParameter(String key, boolean value)已过时。URLaddParameter(String key, byte value)已过时。URLaddParameter(String key, char value)已过时。URLaddParameter(String key, double value)已过时。URLaddParameter(String key, float value)已过时。URLaddParameter(String key, int value)已过时。URLaddParameter(String key, long value)已过时。URLaddParameter(String key, short value)已过时。URLaddParameter(String key, CharSequence value)已过时。URLaddParameter(String key, Enum<?> value)已过时。URLaddParameter(String key, Number value)已过时。URLaddParameter(String key, String value)已过时。URLaddParameterAndEncoded(String key, String value)已过时。URLaddParameterIfAbsent(String key, String value)已过时。URLaddParameters(String... pairs)已过时。URLaddParameters(Map<String,String> parameters)已过时。URLaddParametersIfAbsent(Map<String,String> parameters)已过时。URLaddParameterString(String query)已过时。URLclearParameters()已过时。static Stringdecode(String value)已过时。static Stringencode(String value)已过时。StringgetAbsolutePath()已过时。StringgetAddress()已过时。StringgetAuthority()已过时。StringgetBackupAddress()已过时。StringgetBackupAddress(int defaultPort)已过时。StringgetHost()已过时。StringgetIp()已过时。StringgetMethodParameter(String method, String key)已过时。booleangetMethodParameter(String method, String key, boolean defaultValue)已过时。bytegetMethodParameter(String method, String key, byte defaultValue)已过时。chargetMethodParameter(String method, String key, char defaultValue)已过时。doublegetMethodParameter(String method, String key, double defaultValue)已过时。floatgetMethodParameter(String method, String key, float defaultValue)已过时。intgetMethodParameter(String method, String key, int defaultValue)已过时。longgetMethodParameter(String method, String key, long defaultValue)已过时。shortgetMethodParameter(String method, String key, short defaultValue)已过时。StringgetMethodParameter(String method, String key, String defaultValue)已过时。StringgetMethodParameterAndDecoded(String method, String key)已过时。StringgetMethodParameterAndDecoded(String method, String key, String defaultValue)已过时。bytegetMethodPositiveParameter(String method, String key, byte defaultValue)已过时。doublegetMethodPositiveParameter(String method, String key, double defaultValue)已过时。floatgetMethodPositiveParameter(String method, String key, float defaultValue)已过时。intgetMethodPositiveParameter(String method, String key, int defaultValue)已过时。longgetMethodPositiveParameter(String method, String key, long defaultValue)已过时。shortgetMethodPositiveParameter(String method, String key, short defaultValue)已过时。org.apache.dubbo.common.URLgetOriginalURL()已过时。StringgetParameter(String key)已过时。booleangetParameter(String key, boolean defaultValue)已过时。bytegetParameter(String key, byte defaultValue)已过时。chargetParameter(String key, char defaultValue)已过时。doublegetParameter(String key, double defaultValue)已过时。floatgetParameter(String key, float defaultValue)已过时。intgetParameter(String key, int defaultValue)已过时。longgetParameter(String key, long defaultValue)已过时。shortgetParameter(String key, short defaultValue)已过时。StringgetParameter(String key, String defaultValue)已过时。String[]getParameter(String key, String[] defaultValue)已过时。StringgetParameterAndDecoded(String key)已过时。StringgetParameterAndDecoded(String key, String defaultValue)已过时。Map<String,String>getParameters()已过时。StringgetPassword()已过时。StringgetPath()已过时。intgetPort()已过时。intgetPort(int defaultPort)已过时。bytegetPositiveParameter(String key, byte defaultValue)已过时。doublegetPositiveParameter(String key, double defaultValue)已过时。floatgetPositiveParameter(String key, float defaultValue)已过时。intgetPositiveParameter(String key, int defaultValue)已过时。longgetPositiveParameter(String key, long defaultValue)已过时。shortgetPositiveParameter(String key, short defaultValue)已过时。StringgetProtocol()已过时。StringgetRawParameter(String key)已过时。StringgetServiceInterface()已过时。StringgetServiceKey()已过时。URLgetUrlParameter(String key)已过时。StringgetUsername()已过时。booleanhasMethodParameter(String method, String key)已过时。booleanhasParameter(String key)已过时。booleanisAnyHost()已过时。booleanisLocalHost()已过时。URLremoveParameter(String key)已过时。URLremoveParameters(String... keys)已过时。URLremoveParameters(Collection<String> keys)已过时。URLsetAddress(String address)已过时。URLsetHost(String host)已过时。URLsetPassword(String password)已过时。URLsetPath(String path)已过时。URLsetPort(int port)已过时。URLsetProtocol(String protocol)已过时。URLsetServiceInterface(String service)已过时。URLsetUsername(String username)已过时。StringtoFullString()已过时。StringtoFullString(String... parameters)已过时。StringtoIdentityString()已过时。StringtoIdentityString(String... parameters)已过时。InetSocketAddresstoInetSocketAddress()已过时。URLtoJavaURL()已过时。Map<String,String>toMap()已过时。StringtoParameterString()已过时。StringtoParameterString(String... parameters)已过时。StringtoServiceString()已过时。StringtoServiceStringWithoutResolving()已过时。StringtoString()已过时。StringtoString(String... parameters)已过时。static URLvalueOf(String url)已过时。-
从类继承的方法 org.apache.dubbo.common.URL
addMethodParameter, addMethodParameterIfAbsent, buildKey, equals, getBackupUrls, getBooleanParameter, getBooleanParameter, getColonSeparatedKey, getIntParameter, getIntParameter, getMethodBooleanParameter, getMethodBooleanParameter, getMethodIntParameter, getMethodIntParameter, getMethodParameter, getMethodParameters, getMethodParameterStrict, getMethodPositiveIntParameter, getParameter, getParameter, getParameter, getParameters, getPathKey, getPositiveIntParameter, getPositiveServiceParameter, getPositiveServiceParameter, getPositiveServiceParameter, getPositiveServiceParameter, getPositiveServiceParameter, getPositiveServiceParameter, getProtocolServiceKey, getServiceMethodParameter, getServiceMethodParameter, getServiceMethodParameter, getServiceMethodParameter, getServiceMethodParameter, getServiceMethodParameter, getServiceMethodParameter, getServiceMethodParameterAndDecoded, getServiceMethodParameterAndDecoded, getServiceMethodParameterStrict, getServiceName, getServiceParameter, getServiceParameter, getServiceParameter, getServiceParameter, getServiceParameter, getServiceParameter, getServiceParameter, getServiceParameter, getServiceParameter, getServiceParameter, getServiceParameters, hashCode, hasMethodParameter, hasServiceMethodParameter, hasServiceMethodParameter, hasServiceParameter, putMethodParameter, toConfiguration, toMethodParameters, valueOf, valueOf
-
-
-
-
构造器详细资料
-
URL
public URL(org.apache.dubbo.common.URL url)
已过时。
-
URL
public URL(String protocol, String host, int port, String path, Map<String,String> parameters)
已过时。
-
URL
public URL(String protocol, String username, String password, String host, int port, String path)
已过时。
-
URL
public URL(String protocol, String username, String password, String host, int port, String path, String... pairs)
已过时。
-
-
方法详细资料
-
getProtocol
public String getProtocol()
已过时。- 覆盖:
getProtocol在类中org.apache.dubbo.common.URL
-
setProtocol
public URL setProtocol(String protocol)
已过时。- 覆盖:
setProtocol在类中org.apache.dubbo.common.URL
-
getUsername
public String getUsername()
已过时。- 覆盖:
getUsername在类中org.apache.dubbo.common.URL
-
setUsername
public URL setUsername(String username)
已过时。- 覆盖:
setUsername在类中org.apache.dubbo.common.URL
-
getPassword
public String getPassword()
已过时。- 覆盖:
getPassword在类中org.apache.dubbo.common.URL
-
setPassword
public URL setPassword(String password)
已过时。- 覆盖:
setPassword在类中org.apache.dubbo.common.URL
-
getAuthority
public String getAuthority()
已过时。- 覆盖:
getAuthority在类中org.apache.dubbo.common.URL
-
getHost
public String getHost()
已过时。- 覆盖:
getHost在类中org.apache.dubbo.common.URL
-
getIp
public String getIp()
已过时。- 覆盖:
getIp在类中org.apache.dubbo.common.URL
-
getPort
public int getPort()
已过时。- 覆盖:
getPort在类中org.apache.dubbo.common.URL
-
setPort
public URL setPort(int port)
已过时。- 覆盖:
setPort在类中org.apache.dubbo.common.URL
-
getPort
public int getPort(int defaultPort)
已过时。- 覆盖:
getPort在类中org.apache.dubbo.common.URL
-
getAddress
public String getAddress()
已过时。- 覆盖:
getAddress在类中org.apache.dubbo.common.URL
-
setAddress
public URL setAddress(String address)
已过时。- 覆盖:
setAddress在类中org.apache.dubbo.common.URL
-
getBackupAddress
public String getBackupAddress()
已过时。- 覆盖:
getBackupAddress在类中org.apache.dubbo.common.URL
-
getBackupAddress
public String getBackupAddress(int defaultPort)
已过时。- 覆盖:
getBackupAddress在类中org.apache.dubbo.common.URL
-
getPath
public String getPath()
已过时。- 覆盖:
getPath在类中org.apache.dubbo.common.URL
-
getAbsolutePath
public String getAbsolutePath()
已过时。- 覆盖:
getAbsolutePath在类中org.apache.dubbo.common.URL
-
getParameters
public Map<String,String> getParameters()
已过时。- 覆盖:
getParameters在类中org.apache.dubbo.common.URL
-
getParameterAndDecoded
public String getParameterAndDecoded(String key)
已过时。- 覆盖:
getParameterAndDecoded在类中org.apache.dubbo.common.URL
-
getParameterAndDecoded
public String getParameterAndDecoded(String key, String defaultValue)
已过时。- 覆盖:
getParameterAndDecoded在类中org.apache.dubbo.common.URL
-
getParameter
public String getParameter(String key)
已过时。- 覆盖:
getParameter在类中org.apache.dubbo.common.URL
-
getParameter
public String getParameter(String key, String defaultValue)
已过时。- 覆盖:
getParameter在类中org.apache.dubbo.common.URL
-
getParameter
public String[] getParameter(String key, String[] defaultValue)
已过时。- 覆盖:
getParameter在类中org.apache.dubbo.common.URL
-
getUrlParameter
public URL getUrlParameter(String key)
已过时。- 覆盖:
getUrlParameter在类中org.apache.dubbo.common.URL
-
getParameter
public double getParameter(String key, double defaultValue)
已过时。- 覆盖:
getParameter在类中org.apache.dubbo.common.URL
-
getParameter
public float getParameter(String key, float defaultValue)
已过时。- 覆盖:
getParameter在类中org.apache.dubbo.common.URL
-
getParameter
public long getParameter(String key, long defaultValue)
已过时。- 覆盖:
getParameter在类中org.apache.dubbo.common.URL
-
getParameter
public int getParameter(String key, int defaultValue)
已过时。- 覆盖:
getParameter在类中org.apache.dubbo.common.URL
-
getParameter
public short getParameter(String key, short defaultValue)
已过时。- 覆盖:
getParameter在类中org.apache.dubbo.common.URL
-
getParameter
public byte getParameter(String key, byte defaultValue)
已过时。- 覆盖:
getParameter在类中org.apache.dubbo.common.URL
-
getPositiveParameter
public float getPositiveParameter(String key, float defaultValue)
已过时。- 覆盖:
getPositiveParameter在类中org.apache.dubbo.common.URL
-
getPositiveParameter
public double getPositiveParameter(String key, double defaultValue)
已过时。- 覆盖:
getPositiveParameter在类中org.apache.dubbo.common.URL
-
getPositiveParameter
public long getPositiveParameter(String key, long defaultValue)
已过时。- 覆盖:
getPositiveParameter在类中org.apache.dubbo.common.URL
-
getPositiveParameter
public int getPositiveParameter(String key, int defaultValue)
已过时。- 覆盖:
getPositiveParameter在类中org.apache.dubbo.common.URL
-
getPositiveParameter
public short getPositiveParameter(String key, short defaultValue)
已过时。- 覆盖:
getPositiveParameter在类中org.apache.dubbo.common.URL
-
getPositiveParameter
public byte getPositiveParameter(String key, byte defaultValue)
已过时。- 覆盖:
getPositiveParameter在类中org.apache.dubbo.common.URL
-
getParameter
public char getParameter(String key, char defaultValue)
已过时。- 覆盖:
getParameter在类中org.apache.dubbo.common.URL
-
getParameter
public boolean getParameter(String key, boolean defaultValue)
已过时。- 覆盖:
getParameter在类中org.apache.dubbo.common.URL
-
hasParameter
public boolean hasParameter(String key)
已过时。- 覆盖:
hasParameter在类中org.apache.dubbo.common.URL
-
getMethodParameterAndDecoded
public String getMethodParameterAndDecoded(String method, String key)
已过时。- 覆盖:
getMethodParameterAndDecoded在类中org.apache.dubbo.common.URL
-
getMethodParameterAndDecoded
public String getMethodParameterAndDecoded(String method, String key, String defaultValue)
已过时。- 覆盖:
getMethodParameterAndDecoded在类中org.apache.dubbo.common.URL
-
getMethodParameter
public String getMethodParameter(String method, String key)
已过时。- 覆盖:
getMethodParameter在类中org.apache.dubbo.common.URL
-
getMethodParameter
public String getMethodParameter(String method, String key, String defaultValue)
已过时。- 覆盖:
getMethodParameter在类中org.apache.dubbo.common.URL
-
getMethodParameter
public double getMethodParameter(String method, String key, double defaultValue)
已过时。- 覆盖:
getMethodParameter在类中org.apache.dubbo.common.URL
-
getMethodParameter
public float getMethodParameter(String method, String key, float defaultValue)
已过时。- 覆盖:
getMethodParameter在类中org.apache.dubbo.common.URL
-
getMethodParameter
public long getMethodParameter(String method, String key, long defaultValue)
已过时。- 覆盖:
getMethodParameter在类中org.apache.dubbo.common.URL
-
getMethodParameter
public int getMethodParameter(String method, String key, int defaultValue)
已过时。- 覆盖:
getMethodParameter在类中org.apache.dubbo.common.URL
-
getMethodParameter
public short getMethodParameter(String method, String key, short defaultValue)
已过时。- 覆盖:
getMethodParameter在类中org.apache.dubbo.common.URL
-
getMethodParameter
public byte getMethodParameter(String method, String key, byte defaultValue)
已过时。- 覆盖:
getMethodParameter在类中org.apache.dubbo.common.URL
-
getMethodPositiveParameter
public double getMethodPositiveParameter(String method, String key, double defaultValue)
已过时。- 覆盖:
getMethodPositiveParameter在类中org.apache.dubbo.common.URL
-
getMethodPositiveParameter
public float getMethodPositiveParameter(String method, String key, float defaultValue)
已过时。- 覆盖:
getMethodPositiveParameter在类中org.apache.dubbo.common.URL
-
getMethodPositiveParameter
public long getMethodPositiveParameter(String method, String key, long defaultValue)
已过时。- 覆盖:
getMethodPositiveParameter在类中org.apache.dubbo.common.URL
-
getMethodPositiveParameter
public int getMethodPositiveParameter(String method, String key, int defaultValue)
已过时。- 覆盖:
getMethodPositiveParameter在类中org.apache.dubbo.common.URL
-
getMethodPositiveParameter
public short getMethodPositiveParameter(String method, String key, short defaultValue)
已过时。- 覆盖:
getMethodPositiveParameter在类中org.apache.dubbo.common.URL
-
getMethodPositiveParameter
public byte getMethodPositiveParameter(String method, String key, byte defaultValue)
已过时。- 覆盖:
getMethodPositiveParameter在类中org.apache.dubbo.common.URL
-
getMethodParameter
public char getMethodParameter(String method, String key, char defaultValue)
已过时。- 覆盖:
getMethodParameter在类中org.apache.dubbo.common.URL
-
getMethodParameter
public boolean getMethodParameter(String method, String key, boolean defaultValue)
已过时。- 覆盖:
getMethodParameter在类中org.apache.dubbo.common.URL
-
hasMethodParameter
public boolean hasMethodParameter(String method, String key)
已过时。- 覆盖:
hasMethodParameter在类中org.apache.dubbo.common.URL
-
isLocalHost
public boolean isLocalHost()
已过时。- 覆盖:
isLocalHost在类中org.apache.dubbo.common.URL
-
isAnyHost
public boolean isAnyHost()
已过时。- 覆盖:
isAnyHost在类中org.apache.dubbo.common.URL
-
addParameterAndEncoded
public URL addParameterAndEncoded(String key, String value)
已过时。- 覆盖:
addParameterAndEncoded在类中org.apache.dubbo.common.URL
-
addParameter
public URL addParameter(String key, boolean value)
已过时。- 覆盖:
addParameter在类中org.apache.dubbo.common.URL
-
addParameter
public URL addParameter(String key, char value)
已过时。- 覆盖:
addParameter在类中org.apache.dubbo.common.URL
-
addParameter
public URL addParameter(String key, byte value)
已过时。- 覆盖:
addParameter在类中org.apache.dubbo.common.URL
-
addParameter
public URL addParameter(String key, short value)
已过时。- 覆盖:
addParameter在类中org.apache.dubbo.common.URL
-
addParameter
public URL addParameter(String key, int value)
已过时。- 覆盖:
addParameter在类中org.apache.dubbo.common.URL
-
addParameter
public URL addParameter(String key, long value)
已过时。- 覆盖:
addParameter在类中org.apache.dubbo.common.URL
-
addParameter
public URL addParameter(String key, float value)
已过时。- 覆盖:
addParameter在类中org.apache.dubbo.common.URL
-
addParameter
public URL addParameter(String key, double value)
已过时。- 覆盖:
addParameter在类中org.apache.dubbo.common.URL
-
addParameter
public URL addParameter(String key, Enum<?> value)
已过时。- 覆盖:
addParameter在类中org.apache.dubbo.common.URL
-
addParameter
public URL addParameter(String key, Number value)
已过时。- 覆盖:
addParameter在类中org.apache.dubbo.common.URL
-
addParameter
public URL addParameter(String key, CharSequence value)
已过时。- 覆盖:
addParameter在类中org.apache.dubbo.common.URL
-
addParameter
public URL addParameter(String key, String value)
已过时。- 覆盖:
addParameter在类中org.apache.dubbo.common.URL
-
addParameterIfAbsent
public URL addParameterIfAbsent(String key, String value)
已过时。- 覆盖:
addParameterIfAbsent在类中org.apache.dubbo.common.URL
-
addParameters
public URL addParameters(Map<String,String> parameters)
已过时。- 覆盖:
addParameters在类中org.apache.dubbo.common.URL
-
addParametersIfAbsent
public URL addParametersIfAbsent(Map<String,String> parameters)
已过时。- 覆盖:
addParametersIfAbsent在类中org.apache.dubbo.common.URL
-
addParameters
public URL addParameters(String... pairs)
已过时。- 覆盖:
addParameters在类中org.apache.dubbo.common.URL
-
addParameterString
public URL addParameterString(String query)
已过时。- 覆盖:
addParameterString在类中org.apache.dubbo.common.URL
-
removeParameter
public URL removeParameter(String key)
已过时。- 覆盖:
removeParameter在类中org.apache.dubbo.common.URL
-
removeParameters
public URL removeParameters(Collection<String> keys)
已过时。- 覆盖:
removeParameters在类中org.apache.dubbo.common.URL
-
removeParameters
public URL removeParameters(String... keys)
已过时。- 覆盖:
removeParameters在类中org.apache.dubbo.common.URL
-
clearParameters
public URL clearParameters()
已过时。- 覆盖:
clearParameters在类中org.apache.dubbo.common.URL
-
getRawParameter
public String getRawParameter(String key)
已过时。- 覆盖:
getRawParameter在类中org.apache.dubbo.common.URL
-
toString
public String toString()
已过时。- 覆盖:
toString在类中org.apache.dubbo.common.URL
-
toString
public String toString(String... parameters)
已过时。- 覆盖:
toString在类中org.apache.dubbo.common.URL
-
toIdentityString
public String toIdentityString()
已过时。- 覆盖:
toIdentityString在类中org.apache.dubbo.common.URL
-
toIdentityString
public String toIdentityString(String... parameters)
已过时。- 覆盖:
toIdentityString在类中org.apache.dubbo.common.URL
-
toFullString
public String toFullString()
已过时。- 覆盖:
toFullString在类中org.apache.dubbo.common.URL
-
toFullString
public String toFullString(String... parameters)
已过时。- 覆盖:
toFullString在类中org.apache.dubbo.common.URL
-
toParameterString
public String toParameterString()
已过时。- 覆盖:
toParameterString在类中org.apache.dubbo.common.URL
-
toParameterString
public String toParameterString(String... parameters)
已过时。- 覆盖:
toParameterString在类中org.apache.dubbo.common.URL
-
toJavaURL
public URL toJavaURL()
已过时。- 覆盖:
toJavaURL在类中org.apache.dubbo.common.URL
-
toInetSocketAddress
public InetSocketAddress toInetSocketAddress()
已过时。- 覆盖:
toInetSocketAddress在类中org.apache.dubbo.common.URL
-
getServiceKey
public String getServiceKey()
已过时。- 覆盖:
getServiceKey在类中org.apache.dubbo.common.URL
-
toServiceStringWithoutResolving
public String toServiceStringWithoutResolving()
已过时。- 覆盖:
toServiceStringWithoutResolving在类中org.apache.dubbo.common.URL
-
toServiceString
public String toServiceString()
已过时。- 覆盖:
toServiceString在类中org.apache.dubbo.common.URL
-
getServiceInterface
public String getServiceInterface()
已过时。- 覆盖:
getServiceInterface在类中org.apache.dubbo.common.URL
-
setServiceInterface
public URL setServiceInterface(String service)
已过时。- 覆盖:
setServiceInterface在类中org.apache.dubbo.common.URL
-
getOriginalURL
public org.apache.dubbo.common.URL getOriginalURL()
已过时。
-
-