类的使用
org.apache.dubbo.common.URL
-
-
org.apache.dubbo.common中URL的使用
返回URL的org.apache.dubbo.common中的方法 修饰符和类型 方法 说明 URLURL. addMethodParameter(String method, String key, String value)URLURL. addMethodParameterIfAbsent(String method, String key, String value)URLURL. addParameter(String key, boolean value)URLURL. addParameter(String key, byte value)URLURL. addParameter(String key, char value)URLURL. addParameter(String key, double value)URLURL. addParameter(String key, float value)URLURL. addParameter(String key, int value)URLURL. addParameter(String key, long value)URLURL. addParameter(String key, short value)URLURL. addParameter(String key, CharSequence value)URLURL. addParameter(String key, Enum<?> value)URLURL. addParameter(String key, Number value)URLURL. addParameter(String key, String value)URLURL. addParameterAndEncoded(String key, String value)URLURL. addParameterIfAbsent(String key, String value)URLURL. addParameters(String... pairs)URLURL. addParameters(Map<String,String> parameters)Add parameters to a new url.URLURL. addParametersIfAbsent(Map<String,String> parameters)URLURL. addParameterString(String query)URLURLBuilder. build()URLURL. clearParameters()URLNode. getUrl()get url.URLURL. getUrlParameter(String key)static URLURLStrParser. parseDecodedStr(String decodedURLStr)static URLURLStrParser. parseEncodedStr(String encodedURLStr)URLURL. removeParameter(String key)URLURL. removeParameters(String... keys)URLURL. removeParameters(Collection<String> keys)URLURL. setAddress(String address)URLURL. setHost(String host)URLURL. setPassword(String password)URLURL. setPath(String path)URLURL. setPort(int port)URLURL. setProtocol(String protocol)URLURL. setServiceInterface(String service)URLURL. setUsername(String username)static URLURL. valueOf(String url)NOTICE: This method allocate too much objects, we can useURLStrParser.parseDecodedStr(String)instead.static URLURL. valueOf(String url, String... reserveParams)static URLURL. valueOf(URL url, String[] reserveParams, String[] reserveParamPrefixs)返回变量类型为URL的类型的org.apache.dubbo.common中的方法 修饰符和类型 方法 说明 List<URL>URL. getBackupUrls()参数类型为URL的org.apache.dubbo.common中的方法 修饰符和类型 方法 说明 static URLBuilderURLBuilder. from(URL url)voidResetable. reset(URL url)reset.static URLURL. valueOf(URL url, String[] reserveParams, String[] reserveParamPrefixs) -
org.apache.dubbo.common.config.configcenter中URL的使用
参数类型为URL的org.apache.dubbo.common.config.configcenter中的方法 修饰符和类型 方法 说明 DynamicConfigurationAbstractDynamicConfigurationFactory. getDynamicConfiguration(URL url)static DynamicConfigurationDynamicConfiguration. getDynamicConfiguration(URL connectionURL)Get the instance ofDynamicConfigurationby the specified connectionURLDynamicConfigurationDynamicConfigurationFactory. getDynamicConfiguration(URL url)static StringDynamicConfiguration. getRuleKey(URL url)The format is '{interfaceName}:[version]:[group]'参数类型为URL的org.apache.dubbo.common.config.configcenter中的构造器 构造器 说明 AbstractDynamicConfiguration(URL url)TreePathDynamicConfiguration(URL url) -
org.apache.dubbo.common.config.configcenter.file中URL的使用
参数类型为URL的org.apache.dubbo.common.config.configcenter.file中的构造器 构造器 说明 FileSystemDynamicConfiguration(URL url) -
org.apache.dubbo.common.config.configcenter.nop中URL的使用
参数类型为URL的org.apache.dubbo.common.config.configcenter.nop中的构造器 构造器 说明 NopDynamicConfiguration(URL url)已过时。 -
org.apache.dubbo.common.extension中URL的使用
参数类型为URL的org.apache.dubbo.common.extension中的方法 修饰符和类型 方法 说明 List<T>ExtensionLoader. getActivateExtension(URL url, String key)This is equivalent togetActivateExtension(url, key, null)List<T>ExtensionLoader. getActivateExtension(URL url, String[] values)This is equivalent togetActivateExtension(url, values, null)List<T>ExtensionLoader. getActivateExtension(URL url, String[] values, String group)Get activate extensions.List<T>ExtensionLoader. getActivateExtension(URL url, String key, String group)This is equivalent togetActivateExtension(url, url.getParameter(key).split(","), null) -
org.apache.dubbo.common.threadpool中URL的使用
参数类型为URL的org.apache.dubbo.common.threadpool中的方法 修饰符和类型 方法 说明 ExecutorThreadPool. getExecutor(URL url)Thread pool -
org.apache.dubbo.common.threadpool.manager中URL的使用
参数类型为URL的org.apache.dubbo.common.threadpool.manager中的方法 修饰符和类型 方法 说明 ExecutorServiceDefaultExecutorRepository. createExecutorIfAbsent(URL url)Get called when the server or client instance initiating.ExecutorServiceExecutorRepository. createExecutorIfAbsent(URL url)Called by both Client and Server.ExecutorServiceDefaultExecutorRepository. getExecutor(URL url)ExecutorServiceExecutorRepository. getExecutor(URL url)voidDefaultExecutorRepository. updateThreadpool(URL url, ExecutorService executor)voidExecutorRepository. updateThreadpool(URL url, ExecutorService executor)Modify some of the threadpool's properties according to the url, for example, coreSize, maxSize, ... -
org.apache.dubbo.common.threadpool.support中URL的使用
参数类型为URL的org.apache.dubbo.common.threadpool.support中的构造器 构造器 说明 AbortPolicyWithReport(String threadName, URL url) -
org.apache.dubbo.common.threadpool.support.cached中URL的使用
参数类型为URL的org.apache.dubbo.common.threadpool.support.cached中的方法 修饰符和类型 方法 说明 ExecutorCachedThreadPool. getExecutor(URL url) -
org.apache.dubbo.common.threadpool.support.eager中URL的使用
参数类型为URL的org.apache.dubbo.common.threadpool.support.eager中的方法 修饰符和类型 方法 说明 ExecutorEagerThreadPool. getExecutor(URL url) -
org.apache.dubbo.common.threadpool.support.fixed中URL的使用
参数类型为URL的org.apache.dubbo.common.threadpool.support.fixed中的方法 修饰符和类型 方法 说明 ExecutorFixedThreadPool. getExecutor(URL url) -
org.apache.dubbo.common.threadpool.support.limited中URL的使用
参数类型为URL的org.apache.dubbo.common.threadpool.support.limited中的方法 修饰符和类型 方法 说明 ExecutorLimitedThreadPool. getExecutor(URL url) -
org.apache.dubbo.common.utils中URL的使用
返回URL的org.apache.dubbo.common.utils中的方法 修饰符和类型 方法 说明 static URLUrlUtils. getEmptyUrl(String service, String category)static URLUrlUtils. parseURL(String address, Map<String,String> defaults)static URLExecutorUtil. setThreadName(URL url, String defaultName)append thread name with url address返回变量类型为URL的类型的org.apache.dubbo.common.utils中的方法 修饰符和类型 方法 说明 static List<URL>UrlUtils. classifyUrls(List<URL> urls, Predicate<URL> predicate)static List<URL>UrlUtils. parseURLs(String address, Map<String,String> defaults)参数类型为URL的org.apache.dubbo.common.utils中的方法 修饰符和类型 方法 说明 static booleanUrlUtils. isConfigurator(URL url)static booleanUrlUtils. isMatch(URL consumerUrl, URL providerUrl)static booleanUrlUtils. isMatchGlobPattern(String pattern, String value, URL param)static booleanUrlUtils. isProvider(URL url)static booleanUrlUtils. isRegistry(URL url)static booleanUrlUtils. isRoute(URL url)static booleanUrlUtils. isServiceDiscoveryRegistryType(URL url)The specifiedURLis service discovery registry type or notstatic booleanUrlUtils. isServiceKeyMatch(URL pattern, URL value)static URLExecutorUtil. setThreadName(URL url, String defaultName)append thread name with url address类型变量类型为URL的org.apache.dubbo.common.utils中的方法参数 修饰符和类型 方法 说明 static List<URL>UrlUtils. classifyUrls(List<URL> urls, Predicate<URL> predicate)static List<URL>UrlUtils. classifyUrls(List<URL> urls, Predicate<URL> predicate)static List<String>UrlUtils. revertForbid(List<String> forbid, Set<URL> subscribed) -
org.apache.dubbo.config中URL的使用
返回URL的org.apache.dubbo.config中的方法 修饰符和类型 方法 说明 URLAbstractInterfaceConfig. toUrl()URLConfigCenterConfig. toUrl()URLMetadataReportConfig. toUrl()返回变量类型为URL的类型的org.apache.dubbo.config中的方法 修饰符和类型 方法 说明 List<URL>AbstractInterfaceConfig. getExportedUrls()List<URL>AbstractInterfaceConfig. toUrls() -
org.apache.dubbo.rpc.model中URL的使用
返回URL的org.apache.dubbo.rpc.model中的方法 修饰符和类型 方法 说明 URLProviderModel.RegisterStatedURL. getProviderUrl()URLProviderModel.RegisterStatedURL. getRegistryUrl()参数类型为URL的org.apache.dubbo.rpc.model中的方法 修饰符和类型 方法 说明 voidProviderModel.RegisterStatedURL. setProviderUrl(URL providerUrl)voidProviderModel.RegisterStatedURL. setRegistryUrl(URL registryUrl)参数类型为URL的org.apache.dubbo.rpc.model中的构造器 构造器 说明 RegisterStatedURL(URL providerUrl, URL registryUrl, boolean registered) -
org.apache.dubbo.rpc.support中URL的使用
参数类型为URL的org.apache.dubbo.rpc.support中的方法 修饰符和类型 方法 说明 static StringProtocolUtils. serviceKey(URL url)
-