Package org.apache.camel.component.etcd3
Class Etcd3Helper
java.lang.Object
org.apache.camel.component.etcd3.Etcd3Helper
The helper class for the etcd component.
-
Method Summary
Modifier and TypeMethodDescriptionstatic com.fasterxml.jackson.databind.ObjectMapper
static String
toPathPrefix
(String path) Converts the given path as path prefix.
-
Method Details
-
createObjectMapper
public static com.fasterxml.jackson.databind.ObjectMapper createObjectMapper()- Returns:
- a specific
ObjectMapper
matching with the expectations..
-
toPathPrefix
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.
-