Package com.alibaba.cloud.nacos.ribbon
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetMetadata(com.netflix.loadbalancer.Server server) booleanisSecure(com.netflix.loadbalancer.Server server) Methods inherited from class org.springframework.cloud.netflix.ribbon.DefaultServerIntrospector
setServerIntrospectorProperties
-
Constructor Details
-
NacosServerIntrospector
public NacosServerIntrospector()
-
-
Method Details
-
getMetadata
- Specified by:
getMetadatain interfaceorg.springframework.cloud.netflix.ribbon.ServerIntrospector- Overrides:
getMetadatain classorg.springframework.cloud.netflix.ribbon.DefaultServerIntrospector
-
isSecure
public boolean isSecure(com.netflix.loadbalancer.Server server) - Specified by:
isSecurein interfaceorg.springframework.cloud.netflix.ribbon.ServerIntrospector- Overrides:
isSecurein classorg.springframework.cloud.netflix.ribbon.DefaultServerIntrospector
-