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.ServiceInstancepublic String getServiceId()
getServiceId in interface org.springframework.cloud.client.ServiceInstancepublic String getHost()
getHost in interface org.springframework.cloud.client.ServiceInstancepublic int getPort()
getPort in interface org.springframework.cloud.client.ServiceInstancepublic boolean isSecure()
isSecure in interface org.springframework.cloud.client.ServiceInstancepublic URI getUri()
getUri in interface org.springframework.cloud.client.ServiceInstancepublic Map<String,String> getMetadata()
getMetadata in interface org.springframework.cloud.client.ServiceInstancepublic String getScheme()
getScheme in interface org.springframework.cloud.client.ServiceInstanceCopyright © 2022 Pivotal Software, Inc.. All rights reserved.