List of usage examples for org.springframework.boot.web.server WebServer stop
void stop() throws WebServerException;
From source file:org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.java
private void stopAndReleaseWebServer() { WebServer webServer = this.webServer; if (webServer != null) { try {/* w w w .j a va2 s . co m*/ webServer.stop(); this.webServer = null; } catch (Exception ex) { throw new IllegalStateException(ex); } } }