Class NacosServerIntrospector

java.lang.Object
org.springframework.cloud.netflix.ribbon.DefaultServerIntrospector
com.alibaba.cloud.nacos.ribbon.NacosServerIntrospector
All Implemented Interfaces:
org.springframework.cloud.netflix.ribbon.ServerIntrospector

public class NacosServerIntrospector extends org.springframework.cloud.netflix.ribbon.DefaultServerIntrospector
Author:
xiaojing
  • Constructor Details

    • NacosServerIntrospector

      public NacosServerIntrospector()
  • Method Details

    • getMetadata

      public Map<String,String> getMetadata(com.netflix.loadbalancer.Server server)
      Specified by:
      getMetadata in interface org.springframework.cloud.netflix.ribbon.ServerIntrospector
      Overrides:
      getMetadata in class org.springframework.cloud.netflix.ribbon.DefaultServerIntrospector
    • isSecure

      public boolean isSecure(com.netflix.loadbalancer.Server server)
      Specified by:
      isSecure in interface org.springframework.cloud.netflix.ribbon.ServerIntrospector
      Overrides:
      isSecure in class org.springframework.cloud.netflix.ribbon.DefaultServerIntrospector