public class JbootActionReporter extends Object
| 限定符和类型 | 类和说明 |
|---|---|
private static class |
JbootActionReporter.SystemOutWriter |
| 限定符和类型 | 字段和说明 |
|---|---|
private static com.jfinal.core.ActionReporter |
actionReporter |
private static boolean |
colorRenderEnable |
private static String |
interceptMethodDesc |
private static int |
maxOutputLengthOfParaValue |
private static boolean |
reportAllText |
private static boolean |
reportEnable |
private static ThreadLocal<SimpleDateFormat> |
sdf |
private static String |
title |
private static Writer |
writer |
| 构造器和说明 |
|---|
JbootActionReporter() |
| 限定符和类型 | 方法和说明 |
|---|---|
private static void |
appendRenderMessage(com.jfinal.render.Render render,
StringBuilder sb) |
private static void |
doReport(String target,
com.jfinal.core.Controller controller,
com.jfinal.core.Action action,
com.jfinal.aop.Invocation invocation,
long time) |
private static String |
getClassFileName(Class<?> clazz) |
private static String |
getRenderText(String orignalText) |
static Writer |
getWriter() |
static boolean |
isColorRenderEnable() |
static boolean |
isReportAllText() |
static boolean |
isReportEnable() |
static void |
report(String target,
com.jfinal.core.Controller controller,
com.jfinal.core.Action action,
com.jfinal.aop.Invocation invocation,
long time)
Report the action
|
static void |
setColorRenderEnable(boolean colorRenderEnable) |
static void |
setMaxOutputLengthOfParaValue(int maxOutputLengthOfParaValue) |
static void |
setReportAllText(boolean reportAllText) |
static void |
setReportEnable(boolean reportEnable) |
static void |
setWriter(Writer writer) |
private static final String interceptMethodDesc
private static int maxOutputLengthOfParaValue
private static com.jfinal.core.ActionReporter actionReporter
private static boolean reportEnable
private static boolean colorRenderEnable
private static boolean reportAllText
private static final ThreadLocal<SimpleDateFormat> sdf
public JbootActionReporter()
public static void setMaxOutputLengthOfParaValue(int maxOutputLengthOfParaValue)
public static boolean isReportEnable()
public static void setReportEnable(boolean reportEnable)
public static boolean isReportAllText()
public static void setReportAllText(boolean reportAllText)
public static boolean isColorRenderEnable()
public static void setColorRenderEnable(boolean colorRenderEnable)
public static void report(String target, com.jfinal.core.Controller controller, com.jfinal.core.Action action, com.jfinal.aop.Invocation invocation, long time)
private static void doReport(String target, com.jfinal.core.Controller controller, com.jfinal.core.Action action, com.jfinal.aop.Invocation invocation, long time) throws Exception
Exceptionprivate static void appendRenderMessage(com.jfinal.render.Render render, StringBuilder sb)
private static String getRenderText(String orignalText)
private static String getClassFileName(Class<?> clazz)
Copyright © 2024. All rights reserved.