| Modifier and Type | Class and Description |
|---|---|
class |
URLBuilder |
| Modifier and Type | Method and Description |
|---|---|
URL |
URL.addAttributes(Map<String,Object> attributes) |
URL |
URL.addParameter(String key,
boolean value) |
URL |
URL.addParameter(String key,
byte value) |
URL |
URL.addParameter(String key,
char value) |
URL |
URL.addParameter(String key,
CharSequence value) |
URL |
URL.addParameter(String key,
double value) |
URL |
URL.addParameter(String key,
Enum<?> value) |
URL |
URL.addParameter(String key,
float value) |
URL |
URL.addParameter(String key,
int value) |
URL |
URL.addParameter(String key,
long value) |
URL |
URL.addParameter(String key,
Number value) |
URL |
URL.addParameter(String key,
short value) |
URL |
URL.addParameter(String key,
String value) |
URL |
URL.addParameterAndEncoded(String key,
String value) |
URL |
URL.addParameterIfAbsent(String key,
String value) |
URL |
URL.addParameters(Map<String,String> parameters)
Add parameters to a new url.
|
URL |
URL.addParameters(String... pairs) |
URL |
URL.addParametersIfAbsent(Map<String,String> parameters) |
URL |
URL.addParameterString(String query) |
static URL |
URL.cacheableValueOf(String url) |
URL |
URL.clearParameters() |
URL |
Node.getUrl()
get url.
|
URL |
URL.getUrlParameter(String key) |
static URL |
URLStrParser.parseDecodedStr(String decodedURLStr) |
static URL |
URLStrParser.parseEncodedStr(String encodedURLStr) |
URL |
URL.putAttribute(String key,
Object obj) |
URL |
URL.removeAttribute(String key) |
URL |
URL.removeParameter(String key) |
URL |
URL.removeParameters(Collection<String> keys) |
URL |
URL.removeParameters(String... keys) |
URL |
URL.setAddress(String address) |
URL |
URL.setHost(String host) |
URL |
URL.setPassword(String password) |
URL |
URL.setPath(String path) |
URL |
URL.setPort(int port) |
URL |
URL.setProtocol(String protocol) |
URL |
URL.setScopeModel(ScopeModel scopeModel) |
URL |
URL.setServiceInterface(String service) |
URL |
URL.setServiceModel(ServiceModel serviceModel) |
URL |
URL.setUsername(String username) |
URL |
URL.toSerializableURL() |
static URL |
URL.valueOf(String url)
parse decoded url string, formatted dubbo://host:port/path?param=value, into strutted URL.
|
static URL |
URL.valueOf(String url,
boolean encoded)
parse normal or encoded url string into strutted URL:
- dubbo://host:port/path?param=value
- URL.encode("dubbo://host:port/path?param=value")
|
static URL |
URL.valueOf(String url,
ScopeModel scopeModel) |
static URL |
URL.valueOf(String url,
String... reserveParams) |
static URL |
URL.valueOf(URL url,
String[] reserveParams,
String[] reserveParamPrefixes) |
| Modifier and Type | Method and Description |
|---|---|
List<URL> |
URL.getBackupUrls() |
| Modifier and Type | Method and Description |
|---|---|
static URLBuilder |
URLBuilder.from(URL url) |
void |
Resetable.reset(URL url)
reset.
|
static URL |
URL.valueOf(URL url,
String[] reserveParams,
String[] reserveParamPrefixes) |
| Modifier and Type | Method and Description |
|---|---|
DynamicConfiguration |
DynamicConfigurationFactory.getDynamicConfiguration(URL url) |
DynamicConfiguration |
AbstractDynamicConfigurationFactory.getDynamicConfiguration(URL url) |
static String |
DynamicConfiguration.getRuleKey(URL url)
The format is '{interfaceName}:[version]:[group]'
|
| Constructor and Description |
|---|
TreePathDynamicConfiguration(URL url) |
| Constructor and Description |
|---|
FileSystemDynamicConfiguration(URL url) |
| Constructor and Description |
|---|
NopDynamicConfiguration(URL url)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
List<T> |
ExtensionLoader.getActivateExtension(URL url,
String key)
This is equivalent to
getActivateExtension(url, key, null) |
List<T> |
ExtensionLoader.getActivateExtension(URL url,
String[] values)
This is equivalent to
getActivateExtension(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 to
getActivateExtension(url, url.getParameter(key).split(","), null) |
| Modifier and Type | Method and Description |
|---|---|
Cert |
CertManager.getConsumerConnectionConfig(URL remoteAddress) |
Cert |
CertProvider.getConsumerConnectionConfig(URL remoteAddress) |
ProviderCert |
CertProvider.getProviderConnectionConfig(URL localAddress) |
ProviderCert |
CertManager.getProviderConnectionConfig(URL localAddress,
SocketAddress remoteAddress) |
boolean |
CertProvider.isSupport(URL address) |
| Modifier and Type | Method and Description |
|---|---|
Cert |
SSLConfigCertProvider.getConsumerConnectionConfig(URL remoteAddress) |
ProviderCert |
SSLConfigCertProvider.getProviderConnectionConfig(URL localAddress) |
boolean |
SSLConfigCertProvider.isSupport(URL address) |
| Modifier and Type | Method and Description |
|---|---|
Executor |
ThreadPool.getExecutor(URL url)
Thread pool
|
| Modifier and Type | Method and Description |
|---|---|
ExecutorService |
ExecutorRepository.createExecutorIfAbsent(URL url)
Called by both Client and Server.
|
ExecutorService |
DefaultExecutorRepository.createExecutorIfAbsent(URL url)
Get called when the server or client instance initiating.
|
ExecutorService |
ExecutorRepository.getExecutor(ServiceModel serviceModel,
URL url) |
ExecutorService |
DefaultExecutorRepository.getExecutor(ServiceModel serviceModel,
URL url) |
ExecutorService |
ExecutorRepository.getExecutor(URL url)
Be careful,The semantics of this method are getOrDefaultExecutor
|
ExecutorService |
DefaultExecutorRepository.getExecutor(URL url) |
ExecutorSupport |
IsolationExecutorRepository.getExecutorSupport(URL url) |
ExecutorSupport |
ExecutorRepository.getExecutorSupport(URL url) |
ExecutorSupport |
DefaultExecutorRepository.getExecutorSupport(URL url) |
void |
ExecutorRepository.updateThreadpool(URL url,
ExecutorService executor)
Modify some of the threadpool's properties according to the url, for example, coreSize, maxSize, ...
|
void |
DefaultExecutorRepository.updateThreadpool(URL url,
ExecutorService executor) |
| Constructor and Description |
|---|
AbortPolicyWithReport(String threadName,
URL url) |
| Modifier and Type | Method and Description |
|---|---|
Executor |
CachedThreadPool.getExecutor(URL url) |
| Modifier and Type | Method and Description |
|---|---|
Executor |
EagerThreadPool.getExecutor(URL url) |
| Modifier and Type | Method and Description |
|---|---|
Executor |
FixedThreadPool.getExecutor(URL url) |
| Modifier and Type | Method and Description |
|---|---|
Executor |
LimitedThreadPool.getExecutor(URL url) |
| Modifier and Type | Class and Description |
|---|---|
class |
DubboServiceAddressURL |
class |
ServiceAddressURL |
class |
ServiceConfigURL |
| Modifier and Type | Method and Description |
|---|---|
URL |
ServiceConfigURL.addAttributes(Map<String,Object> attributes) |
URL |
ServiceAddressURL.getConsumerURL() |
URL |
ServiceConfigURL.getUrlParameter(String key) |
URL |
ServiceConfigURL.removeAttribute(String key) |
URL |
ServiceAddressURL.setScopeModel(ScopeModel scopeModel) |
URL |
ServiceAddressURL.setServiceModel(ServiceModel serviceModel) |
| Modifier and Type | Method and Description |
|---|---|
static DubboServiceAddressURL |
DubboServiceAddressURL.valueOf(String rawURL,
URL consumerURL) |
static DubboServiceAddressURL |
DubboServiceAddressURL.valueOf(String rawURL,
URL consumerURL,
ServiceConfigURL overriddenURL) |
| Constructor and Description |
|---|
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) |
| Modifier and Type | Method and Description |
|---|---|
static URL |
UrlUtils.getEmptyUrl(String service,
String category) |
static URL |
UrlUtils.parseURL(String address,
Map<String,String> defaults) |
static URL |
ExecutorUtil.setThreadName(URL url,
String defaultName)
append thread name with url address
|
static URL |
UrlUtils.valueOf(String url)
NOTICE: This method allocate too much objects, we can use
URLStrParser.parseDecodedStr(String) instead. |
| Modifier and Type | Method and Description |
|---|---|
static List<URL> |
UrlUtils.classifyUrls(List<URL> urls,
Predicate<URL> predicate) |
static List<URL> |
UrlUtils.parseURLs(String address,
Map<String,String> defaults) |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
UrlUtils.hasServiceDiscoveryRegistryProtocol(URL url) |
static boolean |
UrlUtils.hasServiceDiscoveryRegistryTypeKey(URL url)
The specified
URL is service discovery registry type or not |
static boolean |
UrlUtils.isConfigurator(URL url) |
static boolean |
UrlUtils.isConsumer(URL url) |
static boolean |
UrlUtils.isMatch(URL consumerUrl,
URL providerUrl) |
static boolean |
UrlUtils.isMatchGlobPattern(String pattern,
String value,
URL param) |
static boolean |
UrlUtils.isProvider(URL url) |
static boolean |
UrlUtils.isRegistry(URL url) |
static boolean |
UrlUtils.isRoute(URL url) |
static boolean |
UrlUtils.isServiceDiscoveryURL(URL url) |
static boolean |
UrlUtils.isServiceKeyMatch(URL pattern,
URL value) |
static URL |
ExecutorUtil.setThreadName(URL url,
String defaultName)
append thread name with url address
|
| Modifier and Type | Method and Description |
|---|---|
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) |
| Modifier and Type | Method and Description |
|---|---|
URL |
MetadataReportConfig.toUrl() |
URL |
AbstractInterfaceConfig.toUrl() |
URL |
ConfigCenterConfig.toUrl() |
URL |
MetricsConfig.toUrl() |
| Modifier and Type | Method and Description |
|---|---|
List<URL> |
AbstractInterfaceConfig.getExportedUrls() |
List<URL> |
AbstractInterfaceConfig.toUrls() |
| Modifier and Type | Method and Description |
|---|---|
ExecutorSupport |
IsolationExecutorSupportFactory.createIsolationExecutorSupport(URL url) |
ExecutorSupport |
DefaultIsolationExecutorSupportFactory.createIsolationExecutorSupport(URL url) |
static ExecutorSupport |
IsolationExecutorSupportFactory.getIsolationExecutorSupport(URL url) |
| Constructor and Description |
|---|
AbstractIsolationExecutorSupport(URL url) |
DefaultExecutorSupport(URL url) |
| Modifier and Type | Method and Description |
|---|---|
URL |
ProviderModel.RegisterStatedURL.getProviderUrl() |
URL |
ProviderModel.RegisterStatedURL.getRegistryUrl() |
| Modifier and Type | Method and Description |
|---|---|
List<URL> |
ProviderModel.getServiceUrls() |
| Modifier and Type | Method and Description |
|---|---|
PackableMethod |
PackableMethodFactory.create(MethodDescriptor methodDescriptor,
URL url,
String contentType) |
ConsumerModel |
ModuleModel.registerInternalConsumer(Class<?> internalService,
URL url) |
void |
ProviderModel.RegisterStatedURL.setProviderUrl(URL providerUrl) |
void |
ProviderModel.RegisterStatedURL.setRegistryUrl(URL registryUrl) |
| Modifier and Type | Method and Description |
|---|---|
void |
ProviderModel.setServiceUrls(List<URL> urls) |
| Constructor and Description |
|---|
RegisterStatedURL(URL providerUrl,
URL registryUrl,
boolean registered) |
| Modifier and Type | Method and Description |
|---|---|
static String |
ProtocolUtils.serviceKey(URL url) |
Copyright © 2011–2020 The Apache Software Foundation. All rights reserved.