类 RestProtocolSubscribedURLsSynthesizer
- java.lang.Object
-
- org.apache.dubbo.registry.client.metadata.RestProtocolSubscribedURLsSynthesizer
-
- 所有已实现的接口:
Comparable<Prioritized>,Prioritized,SubscribedURLsSynthesizer
public class RestProtocolSubscribedURLsSynthesizer extends Object implements SubscribedURLsSynthesizer
SubscribedURLsSynthesizerimplementation for RESTprotocol- 从以下版本开始:
- 2.7.5
-
-
字段概要
-
从接口继承的字段 org.apache.dubbo.common.lang.Prioritized
COMPARATOR, MAX_PRIORITY, MIN_PRIORITY, NORMAL_PRIORITY
-
-
构造器概要
构造器 构造器 说明 RestProtocolSubscribedURLsSynthesizer()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 booleansupports(URL subscribedURL)Supports the synthesis of the subscribedURLsor notList<URL>synthesize(URL subscribedURL, Collection<ServiceInstance> serviceInstances)synthesize the subscribedURLs-
从接口继承的方法 org.apache.dubbo.common.lang.Prioritized
compareTo, getPriority
-
-
-
-
方法详细资料
-
supports
public boolean supports(URL subscribedURL)
从接口复制的说明:SubscribedURLsSynthesizerSupports the synthesis of the subscribedURLsor not- 指定者:
supports在接口中SubscribedURLsSynthesizer- 参数:
subscribedURL- the original subscribedURLfrom the execution of`RegistryService.subscribe(URL, NotifyListener)method- 返回:
- if supports, return
true, orfalse
-
synthesize
public List<URL> synthesize(URL subscribedURL, Collection<ServiceInstance> serviceInstances)
从接口复制的说明:SubscribedURLsSynthesizersynthesize the subscribedURLs- 指定者:
synthesize在接口中SubscribedURLsSynthesizer- 参数:
subscribedURL- the original subscribedURLfrom the execution of`RegistryService.subscribe(URL, NotifyListener)method- 返回:
-
-