类的使用
org.apache.dubbo.common.URL
-
-
org.apache.dubbo.common中URL的使用
org.apache.dubbo.common中URL的子类 修饰符和类型 类 说明 classURLBuilder返回URL的org.apache.dubbo.common中的方法 修饰符和类型 方法 说明 URLURL. addAttributes(Map<String,Object> attributes)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)static URLURL. cacheableValueOf(String url)URLURL. clearParameters()URLNode. getUrl()get url.URLURL. getUrlParameter(String key)static URLURLStrParser. parseDecodedStr(String decodedURLStr)static URLURLStrParser. parseEncodedStr(String encodedURLStr)URLURL. putAttribute(String key, Object obj)URLURL. removeAttribute(String key)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. setScopeModel(ScopeModel scopeModel)URLURL. setServiceInterface(String service)URLURL. setServiceModel(ServiceModel serviceModel)URLURL. setUsername(String username)URLURL. toSerializableURL()static URLURL. valueOf(String url)parse decoded url string, formatted dubbo://host:port/path?static URLURL. valueOf(String url, boolean encoded)parse normal or encoded url string into strutted URL: - dubbo://host:port/path?static URLURL. valueOf(String url, String... reserveParams)static URLURL. valueOf(String url, ScopeModel scopeModel)static URLURL. valueOf(URL url, String[] reserveParams, String[] reserveParamPrefixes)返回变量类型为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[] reserveParamPrefixes) -
org.apache.dubbo.common.config.configcenter中URL的使用
参数类型为URL的org.apache.dubbo.common.config.configcenter中的方法 修饰符和类型 方法 说明 DynamicConfigurationAbstractDynamicConfigurationFactory. getDynamicConfiguration(URL url)DynamicConfigurationDynamicConfigurationFactory. 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)Be careful,The semantics of this method are getOrDefaultExecutorvoidDefaultExecutorRepository. 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.url.component中URL的使用
org.apache.dubbo.common.url.component中URL的子类 修饰符和类型 类 说明 classDubboServiceAddressURLclassServiceAddressURLclassServiceConfigURL返回URL的org.apache.dubbo.common.url.component中的方法 修饰符和类型 方法 说明 URLServiceConfigURL. addAttributes(Map<String,Object> attributes)URLServiceAddressURL. getConsumerURL()URLServiceConfigURL. removeAttribute(String key)URLServiceAddressURL. setScopeModel(ScopeModel scopeModel)URLServiceAddressURL. setServiceModel(ServiceModel serviceModel)参数类型为URL的org.apache.dubbo.common.url.component中的方法 修饰符和类型 方法 说明 static DubboServiceAddressURLDubboServiceAddressURL. valueOf(String rawURL, URL consumerURL)static DubboServiceAddressURLDubboServiceAddressURL. valueOf(String rawURL, URL consumerURL, ServiceConfigURL overriddenURL)参数类型为URL的org.apache.dubbo.common.url.component中的构造器 构造器 说明 DubboServiceAddressURL(URLAddress urlAddress, URLParam urlParam, URL consumerURL, ServiceConfigURL overrideURL)ServiceAddressURL(String protocol, String username, String password, String host, int port, String path, Map<String,String> parameters, URL consumerURL)ServiceAddressURL(URLAddress urlAddress, URLParam urlParam, URL consumerURL) -
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 addressstatic URLUrlUtils. valueOf(String url)NOTICE: This method allocate too much objects, we can useURLStrParser.parseDecodedStr(String)instead.返回变量类型为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. hasServiceDiscoveryRegistryProtocol(URL url)static booleanUrlUtils. hasServiceDiscoveryRegistryTypeKey(URL url)The specifiedURLis service discovery registry type or notstatic booleanUrlUtils. isConfigurator(URL url)static booleanUrlUtils. isConsumer(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. isServiceDiscoveryURL(URL url)static 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()URLMetricsConfig. 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中的方法 修饰符和类型 方法 说明 List<URL>FrameworkServiceRepository. lookupRegisteredProviderUrlsWithoutGroup(String key)参数类型为URL的org.apache.dubbo.rpc.model中的方法 修饰符和类型 方法 说明 ConsumerModelModuleModel. registerInternalConsumer(Class<?> internalService, URL url)voidFrameworkServiceRepository. registerProviderUrl(URL url)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)
-