Package io.vrap.rmf.base.client.utils
Class Utils
java.lang.Object
io.vrap.rmf.base.client.utils.Utils
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
bytesToString
(byte[] input) static String
bytesToUTF8String
(byte[] input) static <I,
O> ApiHttpResponse<O> convertResponse
(ApiHttpResponse<byte[]> response, Class<O> outputType) static <U,
V> Function<U, V> wrapToCompletionException
(ExceptionalFunction<U, V> exceptionalFunction)
-
Constructor Details
-
Utils
public Utils()
-
-
Method Details
-
wrapToCompletionException
public static <U,V> Function<U,V> wrapToCompletionException(ExceptionalFunction<U, V> exceptionalFunction) -
bytesToString
-
bytesToUTF8String
-
convertResponse
public static <I,O> ApiHttpResponse<O> convertResponse(ApiHttpResponse<byte[]> response, Class<O> outputType)
-