com.netflix.discovery.converters
Class Converters
java.lang.Object
com.netflix.discovery.converters.Converters
public final class Converters
- extends java.lang.Object
The custom Serializer for serializing and deserializing the registry
information from and to the eureka server.
The Serializer used here is an Xstream serializer which uses
the JSON format and custom fields.The XStream deserialization does
not handle removal of fields and hence this custom mechanism. Since then
Auto annotation introduced handles any fields that does not exist
gracefully and is the recommended mechanism. If the user wishes to override
the whole XStream serialization/deserialization mechanism with their own
alternatives they can do so my implementing their own providers in
EntityBodyConverter.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NODE_LEASE
public static final java.lang.String NODE_LEASE
- See Also:
- Constant Field Values
NODE_METADATA
public static final java.lang.String NODE_METADATA
- See Also:
- Constant Field Values
NODE_DATACENTER
public static final java.lang.String NODE_DATACENTER
- See Also:
- Constant Field Values
NODE_INSTANCE
public static final java.lang.String NODE_INSTANCE
- See Also:
- Constant Field Values
NODE_APP
public static final java.lang.String NODE_APP
- See Also:
- Constant Field Values
NODE_APPS
public static final java.lang.String NODE_APPS
- See Also:
- Constant Field Values
Converters
public Converters()