public final class Utils extends Object
| Constructor and Description |
|---|
Utils() |
| Modifier and Type | Method and Description |
|---|---|
static 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) |
public static <U,V> Function<U,V> wrapToCompletionException(ExceptionalFunction<U,V> exceptionalFunction)
public static String bytesToString(byte[] input)
public static String bytesToUTF8String(byte[] input)
public static <I,O> ApiHttpResponse<O> convertResponse(ApiHttpResponse<byte[]> response, Class<O> outputType)