public class RestProtocolSubscribedURLsSynthesizer extends Object implements SubscribedURLsSynthesizer
SubscribedURLsSynthesizer implementation for REST protocolCOMPARATOR, MAX_PRIORITY, MIN_PRIORITY, NORMAL_PRIORITY| Constructor and Description |
|---|
RestProtocolSubscribedURLsSynthesizer() |
| Modifier and Type | Method and Description |
|---|---|
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 |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcompareTo, getPrioritypublic RestProtocolSubscribedURLsSynthesizer()
public boolean supports(URL subscribedURL)
SubscribedURLsSynthesizerURLs or notsupports in interface 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 in interface SubscribedURLsSynthesizersubscribedURL - the original subscribed URL from the execution of`
RegistryService.subscribe(URL, NotifyListener) methodCopyright © 2011–2019 The Apache Software Foundation. All rights reserved.