void stop() throws Exception { if (httpServer != null) { httpServer.stop(); } }
void stop() throws IOException { if (httpServer != null) { try { httpServer.stop(); } catch (Exception e) { throw new IOException(e); } } }
@Override public void close() throws IOException { bossGroup.shutdownGracefully(); workerGroup.shutdownGracefully(); if (sslFactory != null) { sslFactory.destroy(); } if (externalHttpChannel != null) { externalHttpChannel.close(); } try { infoServer.stop(); } catch (Exception e) { throw new IOException(e); } }
infoServer.stop(); infoServer = null;
@After public void tearDown() throws Exception { server.stop(); }
void stop() throws Exception { if (httpServer != null) { httpServer.stop(); } }
public void stop() throws Exception { if (httpServer != null) { httpServer.stop(); } }
void stop() throws Exception { if (httpServer != null) { httpServer.stop(); } }
void stop() throws IOException { if (httpServer != null) { try { httpServer.stop(); } catch (Exception e) { throw new IOException(e); } } }
void stop() throws IOException { if (httpServer != null) { try { httpServer.stop(); } catch (Exception e) { throw new IOException(e); } } }
void stop() throws IOException { if (httpServer != null) { try { httpServer.stop(); } catch (Exception e) { throw new IOException(e); } } }
/** * If the server is non null, stop it * @param server to stop * @throws Exception on any failure */ public static void stop(HttpServer2 server) throws Exception { if (server != null) { server.stop(); } }
/** * If the server is non null, stop it * @param server to stop * @throws Exception on any failure */ public static void stop(HttpServer2 server) throws Exception { if (server != null) { server.stop(); } }
public void stop() { try { checkNotNull(httpServer, "httpServer").stop(); checkNotNull(guiceFilter, "guiceFilter").destroy(); } catch (Exception e) { throw new WebAppException(e); } }
public void stop() { try { checkNotNull(httpServer, "httpServer").stop(); checkNotNull(guiceFilter, "guiceFilter").destroy(); } catch (Exception e) { throw new WebAppException(e); } }
public void stop() { try { checkNotNull(httpServer, "httpServer").stop(); checkNotNull(guiceFilter, "guiceFilter").destroy(); } catch (Exception e) { throw new WebAppException(e); } }
@AfterClass public static void cleanup() throws Exception { server.stop(); FileUtil.fullyDelete(new File(BASEDIR)); KeyStoreTestUtil.cleanupSSLConfig(keystoresDir, sslConfDir); clientSslFactory.destroy(); }
@AfterClass public static void cleanup() throws Exception { server.stop(); FileUtil.fullyDelete(new File(BASEDIR)); KeyStoreTestUtil.cleanupSSLConfig(keystoresDir, sslConfDir); clientSslFactory.destroy(); }
@AfterClass public static void cleanup() throws Exception { server.stop(); FileUtil.fullyDelete(new File(BASEDIR)); KeyStoreTestUtil.cleanupSSLConfig(keystoresDir, sslConfDir); clientSslFactory.destroy(); } }
@AfterClass public static void cleanup() throws Exception { server.stop(); FileUtil.fullyDelete(new File(BASEDIR)); KeyStoreTestUtil.cleanupSSLConfig(keystoresDir, sslConfDir); clientSslFactory.destroy(); } }