public class HelperUtils extends Object
Constructor and Description |
---|
HelperUtils() |
Modifier and Type | Method and Description |
---|---|
static <T> List<T> |
convertList(List list) |
static <T> Map<String,T> |
convertMap(Map map) |
static <T> Set<T> |
convertSet(List list) |
static JsonArray |
convertStackTrace(Throwable cause) |
static <T> Handler<AsyncResult<T>> |
createHandler(Message msg,
boolean includeDebugInfo) |
static Handler<AsyncResult<List<Character>>> |
createListCharHandler(Message msg,
boolean includeDebugInfo) |
static <T> Handler<AsyncResult<List<T>>> |
createListHandler(Message msg,
boolean includeDebugInfo) |
static Handler<AsyncResult<Map<String,Character>>> |
createMapCharHandler(Message msg,
boolean includeDebugInfo) |
static <T> Handler<AsyncResult<Map<String,T>>> |
createMapHandler(Message msg,
boolean includeDebugInfo) |
static Handler<AsyncResult<Set<Character>>> |
createSetCharHandler(Message msg,
boolean includeDebugInfo) |
static <T> Handler<AsyncResult<Set<T>>> |
createSetHandler(Message msg,
boolean includeDebugInfo) |
static JsonObject |
generateDebugInfo(Throwable cause) |
static void |
manageFailure(Message msg,
Throwable cause,
boolean includeDebugInfo) |
public static <T> Handler<AsyncResult<T>> createHandler(Message msg, boolean includeDebugInfo)
public static <T> Handler<AsyncResult<List<T>>> createListHandler(Message msg, boolean includeDebugInfo)
public static <T> Handler<AsyncResult<Set<T>>> createSetHandler(Message msg, boolean includeDebugInfo)
public static <T> Handler<AsyncResult<Map<String,T>>> createMapHandler(Message msg, boolean includeDebugInfo)
public static Handler<AsyncResult<List<Character>>> createListCharHandler(Message msg, boolean includeDebugInfo)
public static Handler<AsyncResult<Set<Character>>> createSetCharHandler(Message msg, boolean includeDebugInfo)
public static Handler<AsyncResult<Map<String,Character>>> createMapCharHandler(Message msg, boolean includeDebugInfo)
public static void manageFailure(Message msg, Throwable cause, boolean includeDebugInfo)
public static JsonObject generateDebugInfo(Throwable cause)
Copyright © 2021 Eclipse. All rights reserved.