public static class RibbonLoadBalancerClient.RibbonServer extends Object implements org.springframework.cloud.client.ServiceInstance
Constructor and Description |
---|
RibbonServer(String serviceId,
com.netflix.loadbalancer.Server server) |
RibbonServer(String serviceId,
com.netflix.loadbalancer.Server server,
boolean secure,
Map<String,String> metadata) |
Modifier and Type | Method and Description |
---|---|
String |
getHost() |
Map<String,String> |
getMetadata() |
int |
getPort() |
com.netflix.loadbalancer.Server |
getServer() |
String |
getServiceId() |
URI |
getUri() |
boolean |
isSecure() |
String |
toString() |
public RibbonServer(String serviceId, com.netflix.loadbalancer.Server server)
public String getServiceId()
getServiceId
in interface org.springframework.cloud.client.ServiceInstance
public String getHost()
getHost
in interface org.springframework.cloud.client.ServiceInstance
public int getPort()
getPort
in interface org.springframework.cloud.client.ServiceInstance
public boolean isSecure()
isSecure
in interface org.springframework.cloud.client.ServiceInstance
public URI getUri()
getUri
in interface org.springframework.cloud.client.ServiceInstance
public Map<String,String> getMetadata()
getMetadata
in interface org.springframework.cloud.client.ServiceInstance
public com.netflix.loadbalancer.Server getServer()
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.