类 ServiceInstanceUtils


  • public class ServiceInstanceUtils
    extends io.microsphere.util.BaseUtils
    ServiceInstance Utilities class
    从以下版本开始:
    1.0.0
    作者:
    Mercy
    • 方法概要

      所有方法 静态方法 具体方法 
      修饰符和类型 方法 说明
      static void attachMetadata​(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)  
      • 从类继承的方法 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 构造器详细资料

      • ServiceInstanceUtils

        public ServiceInstanceUtils()
    • 方法详细资料

      • 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)