Class ServiceInstanceUtils
- java.lang.Object
-
- io.microsphere.util.BaseUtils
-
- io.microsphere.spring.cloud.client.service.util.ServiceInstanceUtils
-
public class ServiceInstanceUtils extends io.microsphere.util.BaseUtilsServiceInstanceUtilities class- Since:
- 1.0.0
- Author:
- Mercy
-
-
Constructor Summary
Constructors Constructor Description ServiceInstanceUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidattachMetadata(java.lang.String contextPath, org.springframework.cloud.client.ServiceInstance serviceInstance, java.util.Collection<io.microsphere.spring.web.metadata.WebEndpointMapping> webEndpointMappings)static java.util.Collection<io.microsphere.spring.web.metadata.WebEndpointMapping>getWebEndpointMappings(org.springframework.cloud.client.ServiceInstance serviceInstance)
-
-
-
Method Detail
-
attachMetadata
public static void attachMetadata(java.lang.String contextPath, org.springframework.cloud.client.ServiceInstance serviceInstance, java.util.Collection<io.microsphere.spring.web.metadata.WebEndpointMapping> webEndpointMappings)
-
getWebEndpointMappings
public static java.util.Collection<io.microsphere.spring.web.metadata.WebEndpointMapping> getWebEndpointMappings(org.springframework.cloud.client.ServiceInstance serviceInstance)
-
-