Class Etcd3Helper


  • public final class Etcd3Helper
    extends Object
    The helper class for the etcd component.
    • Method Detail

      • createObjectMapper

        public static com.fasterxml.jackson.databind.ObjectMapper createObjectMapper()
        Returns:
        a specific ObjectMapper matching with the expectations..
      • toPathPrefix

        public static String toPathPrefix​(String path)
        Converts the given path as path prefix.
        Parameters:
        path - the path to convert.
        Returns:
        the given path if it ends with slash, the given path with an appended slash otherwise.