public class CommonUtil extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
static ThreadLocal<Long> |
flowIdThreadLocal
当前流程id
|
| 构造器和说明 |
|---|
CommonUtil() |
| 限定符和类型 | 方法和说明 |
|---|---|
static String |
exception2String(Exception e) |
static FlowLog |
flowContext2FlowLog(cn.schoolwow.quickflow.domain.FlowContext flowContext) |
static HttpRequestLog |
getHttpRequestLog(cn.schoolwow.quickhttp.domain.RequestMeta requestMeta,
cn.schoolwow.quickhttp.response.Response response,
Exception e,
String source,
long startTime) |
static void |
notifyMessage(String title,
Exception e) |
public static ThreadLocal<Long> flowIdThreadLocal
public static HttpRequestLog getHttpRequestLog(cn.schoolwow.quickhttp.domain.RequestMeta requestMeta, cn.schoolwow.quickhttp.response.Response response, Exception e, String source, long startTime) throws IOException
IOExceptionpublic static FlowLog flowContext2FlowLog(cn.schoolwow.quickflow.domain.FlowContext flowContext)
Copyright © 2024. All rights reserved.