protected static class RibbonLoadBalancerClient.RibbonServer extends Object implements ServiceInstance
Modifier | Constructor and Description |
---|---|
protected |
RibbonServer(String serviceId,
com.netflix.loadbalancer.Server server) |
Modifier and Type | Method and Description |
---|---|
String |
getHost() |
int |
getPort() |
com.netflix.loadbalancer.Server |
getServer() |
String |
getServiceId() |
URI |
getUri() |
boolean |
isSecure() |
protected RibbonServer(String serviceId, com.netflix.loadbalancer.Server server)
public String getServiceId()
getServiceId
in interface ServiceInstance
public String getHost()
getHost
in interface ServiceInstance
public int getPort()
getPort
in interface ServiceInstance
public boolean isSecure()
isSecure
in interface ServiceInstance
public URI getUri()
getUri
in interface ServiceInstance
public com.netflix.loadbalancer.Server getServer()
Copyright © 2015 Pivotal Software, Inc.. All rights reserved.