static public void stop() { if (server != null) server.stop(); }
private void stopSilently() { try { if (this.undertow != null) { this.undertow.stop(); } } catch (Exception ex) { // Ignore } }
@Override public void stop() throws Exception { this.server.stop(); this.port = 0; }
@Override protected void stopInternal() { this.server.stop(); }
/** * Stop the listener server so the port becomes available again. */ public void stop() { if (server != null) { logger.log(Level.INFO, "Stopping server"); server.stop(); server = null; } }
private void stopSilently() { try { if (this.undertow != null) { this.undertow.stop(); this.closeable.close(); } } catch (Exception ex) { // Ignore } }
public void stop() { try { logger.log(Level.INFO, "Shutting down websocket server."); webServer.stop(); } catch (Exception e) { logger.log(Level.SEVERE, "Could not stop websocket server.", e); } }
@Override public void stop() throws WebServerException { synchronized (this.monitor) { if (!this.started) { return; } this.started = false; try { this.undertow.stop(); if (this.closeable != null) { this.closeable.close(); } } catch (Exception ex) { throw new WebServerException("Unable to stop undertow", ex); } } }
@Override public void stop() throws Exception { shutdown.shutdown(); shutdown.awaitShutdown(awaitShutdown); server.stop(); }
@Override public void stop() throws WebServerException { synchronized (this.monitor) { if (!this.started) { return; } this.started = false; try { this.manager.stop(); this.manager.undeploy(); this.undertow.stop(); } catch (Exception ex) { throw new WebServerException("Unable to stop undertow", ex); } } }
@TearDown(Level.Trial) public void close() throws Exception { if (server != null) server.stop(); client.dispatcher().executorService().shutdown(); if (Tracing.current() != null) Tracing.current().close(); }
@TearDown(Level.Trial) public void close() throws Exception { close(client); close(unsampledClient); close(tracedClient); server.stop(); Tracing.current().close(); }
public void stop() { server.stop(); }
@Override public void stop() { if (server != null) { try { String version = server.getClass().getPackage().getImplementationVersion(); log.info("Stopping Undertow {} on port {}", version, getSettings().getPort()); server.stop(); pippoDeploymentManager.undeploy(); } catch (Exception e) { throw new PippoRuntimeException(e, "Cannot stop Undertow Server"); } } }
public void shutdown() { log.info("************ TEST BTXN SERVICE EXITING"); server.stop(); } }
@Override @PreDestroy public void stop() { if(this.undertow != null) { this.undertow.stop(); this.undertow = null; } } }
private void stop() throws Exception { if (undertow != null) { try { undertow.stop(); LOGGER.info("Undertow Web server stopped"); } catch (RuntimeException e) { unwrapUndertowException(e); } finally { undertow = null; } } }
public void shutdown() throws InterruptedException { undertow.stop(); messagePreviewPersister.shutdown(); throughputLimiter.stop(); }
@Override public boolean stop() { deploymentManager.undeploy(); servletContainer.removeDeployment(deploymentInfo); if (pathHandler != null) { pathHandler.clearPaths(); } if (undertow != null) { undertow.stop(); } return true; }
@Override public IPromise closeServer() { getServer(port).getSecond().stop(); return new Promise(null); }