public class Utils extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
LOG_HEADER |
| Constructor and Description |
|---|
Utils() |
| Modifier and Type | Method and Description |
|---|---|
static com.fasterxml.jackson.databind.ObjectMapper |
defaultObjectMapper() |
static <T> T |
execute(retrofit2.Call<T> call) |
static <T> T |
fromJson(String json,
Class<T> clazz) |
static String |
genRandomSign(int length) |
static String |
getLogID(retrofit2.Response<?> response) |
static String |
toJson(Object obj) |
public static final String LOG_HEADER
public static <T> T execute(retrofit2.Call<T> call)
public static com.fasterxml.jackson.databind.ObjectMapper defaultObjectMapper()
public static String getLogID(retrofit2.Response<?> response)
public static String genRandomSign(int length)
Copyright © 2025. All rights reserved.