Class EurekaServerIdentity


  • public class EurekaServerIdentity
    extends com.netflix.appinfo.AbstractEurekaIdentity
    This class holds metadata information related to eureka server auth with peer eureka servers
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String DEFAULT_SERVER_NAME  
      • Fields inherited from class com.netflix.appinfo.AbstractEurekaIdentity

        AUTH_ID_HEADER_KEY, AUTH_NAME_HEADER_KEY, AUTH_VERSION_HEADER_KEY, PREFIX
    • Constructor Summary

      Constructors 
      Constructor Description
      EurekaServerIdentity​(java.lang.String id)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getId()  
      java.lang.String getName()  
      java.lang.String getVersion()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • DEFAULT_SERVER_NAME

        public static final java.lang.String DEFAULT_SERVER_NAME
        See Also:
        Constant Field Values
    • Constructor Detail

      • EurekaServerIdentity

        public EurekaServerIdentity​(java.lang.String id)
    • Method Detail

      • getName

        public java.lang.String getName()
        Specified by:
        getName in class com.netflix.appinfo.AbstractEurekaIdentity
      • getVersion

        public java.lang.String getVersion()
        Specified by:
        getVersion in class com.netflix.appinfo.AbstractEurekaIdentity
      • getId

        public java.lang.String getId()
        Specified by:
        getId in class com.netflix.appinfo.AbstractEurekaIdentity