public class RestProtocolSubscribedURLsSynthesizer extends Object implements SubscribedURLsSynthesizer
SubscribedURLsSynthesizer implementation for REST protocolCOMPARATOR, MAX_PRIORITY, MIN_PRIORITY, NORMAL_PRIORITY| 构造器和说明 |
|---|
RestProtocolSubscribedURLsSynthesizer() |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
supports(URL subscribedURL)
Supports the synthesis of the subscribed
URLs or not |
List<URL> |
synthesize(URL subscribedURL,
Collection<ServiceInstance> serviceInstances)
synthesize the subscribed
URLs |
compareTo, getPrioritypublic boolean supports(URL subscribedURL)
SubscribedURLsSynthesizerURLs or notsupports 在接口中 SubscribedURLsSynthesizersubscribedURL - the original subscribed URL from the execution of`
RegistryService.subscribe(URL, NotifyListener) methodtrue, or falsepublic List<URL> synthesize(URL subscribedURL, Collection<ServiceInstance> serviceInstances)
SubscribedURLsSynthesizerURLssynthesize 在接口中 SubscribedURLsSynthesizersubscribedURL - the original subscribed URL from the execution of`
RegistryService.subscribe(URL, NotifyListener) methodCopyright © 2011–2021 The Apache Software Foundation. All rights reserved.