@Controller @RequestMapping(value="/koTime") public class KoTimeController extends Object
| 构造器和说明 |
|---|
KoTimeController() |
| 限定符和类型 | 方法和说明 |
|---|---|
List<MethodInfo> |
getApis(String question) |
List<String> |
getApiTips(String question) |
DefaultConfig |
getConfig() |
List<ExceptionNode> |
getExceptions() |
List<ExceptionInfo> |
getMethodsByExceptionId(String exceptionId,
String message) |
Map<String,ParamMetric> |
getParamGraph(String methodId) |
SystemStatistic |
getStatistic() |
MethodInfo |
getTree(String methodName) |
void |
index(String test,
javax.servlet.http.HttpServletResponse response,
javax.servlet.http.HttpServletRequest request) |
Map |
isLogin(String token) |
Map |
login(UserInfo userInfo) |
Map |
updateClass(org.springframework.web.multipart.MultipartFile classFile,
String className) |
boolean |
updateConfig(DefaultConfig config) |
@GetMapping public void index(String test, javax.servlet.http.HttpServletResponse response, javax.servlet.http.HttpServletRequest request)
@GetMapping(value="/getConfig") @ResponseBody public DefaultConfig getConfig()
@GetMapping(value="/getStatistic") @ResponseBody public SystemStatistic getStatistic()
@GetMapping(value="/getApis") @ResponseBody public List<MethodInfo> getApis(String question)
@GetMapping(value="/getParamGraph") @ResponseBody public Map<String,ParamMetric> getParamGraph(String methodId)
@GetMapping(value="/getApiTips") @ResponseBody public List<String> getApiTips(String question)
@GetMapping(value="/getExceptions") @ResponseBody public List<ExceptionNode> getExceptions()
@GetMapping(value="/getTree") @ResponseBody public MethodInfo getTree(String methodName)
@GetMapping(value="/getMethodsByExceptionId") @ResponseBody public List<ExceptionInfo> getMethodsByExceptionId(String exceptionId, String message)
@PostMapping(value="/updateConfig")
@ResponseBody
public boolean updateConfig(@RequestBody
DefaultConfig config)
Copyright © 2022. All rights reserved.