public abstract class AbstractMonitorMethod extends Object
| Modifier and Type | Field and Description |
|---|---|
protected MonitorMethodProperties |
properties |
| Constructor and Description |
|---|
AbstractMonitorMethod() |
| Modifier and Type | Method and Description |
|---|---|
protected Object[] |
convertArgs(Object[] arguments)
转换那些无法被JSON序列化的对象,比如:ServletRequest/ServletResponse
|
protected void |
convertArgs(Object[] arguments,
int i,
Object value)
转换那些无法被JSON序列化的对象,比如:ServletRequest/ServletResponse
|
protected String |
toJSONString(Object input)
将对象转换为 JSON 字符串
|
@Autowired protected MonitorMethodProperties properties
protected Object[] convertArgs(Object[] arguments)
arguments - 待转换的方法参数数组对象protected void convertArgs(Object[] arguments, int i, Object value)
arguments - 待转换的方法参数数组对象i - 索引value - 转换后的值Copyright © 2018–2019. All rights reserved.