@Test public void testHttpAndHttps() throws Exception { control.replay(); factory = new UndertowServerEngineFactory(bus); UndertowServerEngine engine = factory.createHttpServerEngine("localhost", 9234, "http"); assertTrue("http".equals(engine.getProtocol())); System.out.println("[JBWS-3702] FIXME: Add support for https protocol"); factory.destroyForPort(9234); control.verify(); }
public synchronized String getProtocol() { return protocol; }
UndertowServerEngine { public synchronized String getProtocol() { return protocol; } }
UndertowServerEngine { public synchronized String getProtocol() { return protocol; } UndertowServerEngine(UndertowServerEngineFactory fac, Bus bus, String host, int port); }
UndertowServerEngine { public synchronized String getProtocol() { return protocol; } UndertowServerEngine(UndertowServerEngineFactory fac, Bus bus, String host, int port); synchronized Bus getBus(); synchronized String getProtocol(); synchronized int getPort(); synchronized String getHost(); synchronized void addHandler(String address, HttpHandler handler); synchronized void removeHandler(String address); synchronized void shutdown(); }
UndertowServerEngine { public synchronized String getProtocol() { return protocol; } UndertowServerEngine(UndertowServerEngineFactory fac, Bus bus, String host, int port); synchronized Bus getBus(); synchronized String getProtocol(); synchronized int getPort(); synchronized String getHost(); synchronized void addHandler(String address, HttpHandler handler); synchronized void removeHandler(String address); synchronized void shutdown();  }