类 GatewayStatController
- java.lang.Object
-
- tech.codingless.core.gateway.BaseController
-
- tech.codingless.core.gateway.stat.GatewayStatController
-
- 所有已实现的接口:
EventListener,org.springframework.context.ApplicationListener<org.springframework.boot.context.event.ApplicationStartedEvent>
@RestController @RequestMapping("/gateway/stat") public class GatewayStatController extends BaseController implements org.springframework.context.ApplicationListener<org.springframework.boot.context.event.ApplicationStartedEvent>
-
-
构造器概要
构造器 构造器 说明 GatewayStatController()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 GatewayResponsegc()GatewayResponseinfo()voidonApplicationEvent(org.springframework.boot.context.event.ApplicationStartedEvent event)GatewayResponsereq(String rid)GatewayResponsereqActive()GatewayResponsereqClear()GatewayResponsereqLog(String uri)StringthreadDump()GatewayResponseversion()-
从类继承的方法 tech.codingless.core.gateway.BaseController
resp, resp
-
-
-
-
方法详细资料
-
threadDump
@GetMapping("/thread/dump") public String threadDump()
-
reqLog
@GetMapping("/req/history") public GatewayResponse reqLog(String uri)
-
reqActive
@GetMapping("/req/active") public GatewayResponse reqActive()
-
version
@GetMapping("/version") public GatewayResponse version()
-
req
@GetMapping("/req") public GatewayResponse req(String rid)
-
reqClear
@PostMapping("/req/clear") public GatewayResponse reqClear()
-
gc
@PostMapping("/gc") public GatewayResponse gc()
-
info
@GetMapping("/info") public GatewayResponse info()
-
onApplicationEvent
public void onApplicationEvent(org.springframework.boot.context.event.ApplicationStartedEvent event)
- 指定者:
onApplicationEvent在接口中org.springframework.context.ApplicationListener<org.springframework.boot.context.event.ApplicationStartedEvent>
-
-