Class EurekaJacksonCodec


  • public class EurekaJacksonCodec
    extends java.lang.Object
    • Constructor Detail

      • EurekaJacksonCodec

        public EurekaJacksonCodec()
      • EurekaJacksonCodec

        public EurekaJacksonCodec​(java.lang.String versionDeltaKey,
                                  java.lang.String appsHashCodeKey)
    • Method Detail

      • getMapper

        protected com.fasterxml.jackson.databind.ObjectMapper getMapper()
      • getVersionDeltaKey

        protected java.lang.String getVersionDeltaKey()
      • getAppHashCodeKey

        protected java.lang.String getAppHashCodeKey()
      • formatKey

        protected static java.lang.String formatKey​(EurekaClientConfig clientConfig,
                                                    java.lang.String keyTemplate)
      • readValue

        public <T> T readValue​(java.lang.Class<T> type,
                               java.io.InputStream entityStream)
                        throws java.io.IOException
        Throws:
        java.io.IOException
      • readValue

        public <T> T readValue​(java.lang.Class<T> type,
                               java.lang.String text)
                        throws java.io.IOException
        Throws:
        java.io.IOException
      • writeTo

        public <T> void writeTo​(T object,
                                java.io.OutputStream entityStream)
                         throws java.io.IOException
        Throws:
        java.io.IOException
      • writeToString

        public <T> java.lang.String writeToString​(T object)