2020-08-11 21:20
@海哥, 可以通过contrller重启undertow
```
public class UndertowController extends Controller {
public void restart() {
//UndertowUtil.server.restart();
UndertowUtil.restart();
renderText("OK");
}
public void stop() {
UndertowUtil.server.stop();
renderText("OK");
}
public void status() {
boolean started = UndertowUtil.server.isStarted();
renderJson(started);
}
}
```