| Modifier and Type | Method and Description |
|---|---|
URL |
URL.addMethodParameter(String method,
String key,
String value) |
URL |
URL.addMethodParameterIfAbsent(String method,
String key,
String value) |
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) |
URL |
URLBuilder.build() |
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.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.setServiceInterface(String service) |
URL |
URL.setUsername(String username) |
static URL |
URL.valueOf(String url)
NOTICE: This method allocate too much objects, we can use
URLStrParser.parseDecodedStr(String) instead. |
static URL |
URL.valueOf(String url,
String... reserveParams) |
static URL |
URL.valueOf(URL url,
String[] reserveParams,
String[] reserveParamPrefixs) |
| 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[] reserveParamPrefixs) |
| Modifier and Type | Method and Description |
|---|---|
DynamicConfiguration |
AbstractDynamicConfigurationFactory.getDynamicConfiguration(URL url) |
static DynamicConfiguration |
DynamicConfiguration.getDynamicConfiguration(URL connectionURL)
Get the instance of
DynamicConfiguration by the specified connection URL |
DynamicConfiguration |
DynamicConfigurationFactory.getDynamicConfiguration(URL url) |
static String |
DynamicConfiguration.getRuleKey(URL url)
The format is '{interfaceName}:[version]:[group]'
|
| Constructor and Description |
|---|
AbstractDynamicConfiguration(URL url) |
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 |
|---|---|
Executor |
ThreadPool.getExecutor(URL url)
Thread pool
|
| Modifier and Type | Method and Description |
|---|---|
ExecutorService |
DefaultExecutorRepository.createExecutorIfAbsent(URL url)
Get called when the server or client instance initiating.
|
ExecutorService |
ExecutorRepository.createExecutorIfAbsent(URL url)
Called by both Client and Server.
|
ExecutorService |
DefaultExecutorRepository.getExecutor(URL url) |
ExecutorService |
ExecutorRepository.getExecutor(URL url) |
void |
DefaultExecutorRepository.updateThreadpool(URL url,
ExecutorService executor) |
void |
ExecutorRepository.updateThreadpool(URL url,
ExecutorService executor)
Modify some of the threadpool's properties according to the url, for example, coreSize, maxSize, ...
|
| 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 | 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
|
| 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.isConfigurator(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.isServiceDiscoveryRegistryType(URL url)
The specified
URL is service discovery registry type or not |
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() |
| Modifier and Type | Method and Description |
|---|---|
List<URL> |
AbstractInterfaceConfig.getExportedUrls() |
List<URL> |
AbstractInterfaceConfig.toUrls() |
| Modifier and Type | Method and Description |
|---|---|
URL |
ProviderModel.RegisterStatedURL.getProviderUrl() |
URL |
ProviderModel.RegisterStatedURL.getRegistryUrl() |
| Modifier and Type | Method and Description |
|---|---|
void |
ProviderModel.RegisterStatedURL.setProviderUrl(URL providerUrl) |
void |
ProviderModel.RegisterStatedURL.setRegistryUrl(URL registryUrl) |
| Constructor and Description |
|---|
RegisterStatedURL(URL providerUrl,
URL registryUrl,
boolean registered) |
| Modifier and Type | Method and Description |
|---|---|
static String |
ProtocolUtils.serviceKey(URL url) |
Copyright © 2011–2022 The Apache Software Foundation. All rights reserved.