public class EurekaServiceInstance extends Object implements org.springframework.cloud.client.ServiceInstance
ServiceInstance
implementation.Constructor and Description |
---|
EurekaServiceInstance(com.netflix.appinfo.InstanceInfo instance) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getHost() |
String |
getInstanceId() |
com.netflix.appinfo.InstanceInfo |
getInstanceInfo() |
Map<String,String> |
getMetadata() |
int |
getPort() |
String |
getScheme() |
String |
getServiceId() |
URI |
getUri() |
int |
hashCode() |
boolean |
isSecure() |
String |
toString() |
public EurekaServiceInstance(com.netflix.appinfo.InstanceInfo instance)
public com.netflix.appinfo.InstanceInfo getInstanceInfo()
public String getInstanceId()
getInstanceId
in interface org.springframework.cloud.client.ServiceInstance
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 String getScheme()
getScheme
in interface org.springframework.cloud.client.ServiceInstance
Copyright © 2021 Pivotal Software, Inc.. All rights reserved.