Class UndertowServerEngine
- java.lang.Object
-
- org.jboss.wsf.stack.cxf.addons.transports.undertow.UndertowServerEngine
-
-
Constructor Summary
Constructors Constructor Description UndertowServerEngine(UndertowServerEngineFactory fac, Bus bus, String host, int port)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddHandler(String address, HttpHandler handler)BusgetBus()StringgetHost()intgetPort()StringgetProtocol()voidremoveHandler(String address)voidshutdown()This method will shut down the server engine and remove it from the factory's cache.protected voidstop()This method is called by the ServerEngine Factory to destroy the server
-
-
-
Constructor Detail
-
UndertowServerEngine
public UndertowServerEngine(UndertowServerEngineFactory fac, Bus bus, String host, int port)
-
-
Method Detail
-
getBus
public Bus getBus()
-
getProtocol
public String getProtocol()
-
getPort
public int getPort()
-
getHost
public String getHost()
-
addHandler
public void addHandler(String address, HttpHandler handler)
-
removeHandler
public void removeHandler(String address)
-
stop
protected void stop() throws ExceptionThis method is called by the ServerEngine Factory to destroy the server- Throws:
Exception
-
shutdown
public void shutdown()
This method will shut down the server engine and remove it from the factory's cache.
-
-