Class JsonToMessageFunction
- java.lang.Object
-
- org.openstack4j.openstack.compute.functions.JsonToMessageFunction
-
- All Implemented Interfaces:
com.google.common.base.Function<String,String>,Function<String,String>
public class JsonToMessageFunction extends Object implements com.google.common.base.Function<String,String>
Attempts to extract an error message from a JSON payload. If the message cannot be found then the original JSON string is returned- Author:
- Jeremy Unruh
-
-
Field Summary
Fields Modifier and Type Field Description static JsonToMessageFunctionINSTANCE
-
Constructor Summary
Constructors Constructor Description JsonToMessageFunction()
-
-
-
Field Detail
-
INSTANCE
public static final JsonToMessageFunction INSTANCE
-
-