public class ServiceDiscoveryRestEndpoint extends Object
| Modifier and Type | Field and Description | 
|---|---|
static String | 
DEFAULT_ROOT  | 
| Modifier and Type | Method and Description | 
|---|---|
static ServiceDiscoveryRestEndpoint | 
create(Router router,
      ServiceDiscovery discovery)
Creates the REST endpoint using the default root ( 
/discovery). | 
static ServiceDiscoveryRestEndpoint | 
create(Router router,
      ServiceDiscovery discovery,
      String root)
Creates the REST endpoint using the given root. 
 | 
public static final String DEFAULT_ROOT
public static ServiceDiscoveryRestEndpoint create(Router router, ServiceDiscovery discovery)
/discovery).router - the vert.x web routerdiscovery - the service discovery instancepublic static ServiceDiscoveryRestEndpoint create(Router router, ServiceDiscovery discovery, String root)
router - the vert.x web routerdiscovery - the service discovery instanceroot - the endpoint path (root)Copyright © 2020 Eclipse. All rights reserved.