Constructor and Description |
---|
UndertowServerEngine(UndertowServerEngineFactory fac,
Bus bus,
String host,
int port) |
Modifier and Type | Method and Description |
---|---|
void |
addHandler(String address,
HttpHandler handler) |
Bus |
getBus() |
String |
getHost() |
int |
getPort() |
String |
getProtocol() |
void |
removeHandler(String address) |
void |
shutdown()
This method will shut down the server engine and
remove it from the factory's cache.
|
protected void |
stop()
This method is called by the ServerEngine Factory to destroy the server
|
public UndertowServerEngine(UndertowServerEngineFactory fac, Bus bus, String host, int port)
public Bus getBus()
public String getProtocol()
public int getPort()
public String getHost()
public void addHandler(String address, HttpHandler handler)
public void removeHandler(String address)
protected void stop() throws Exception
Exception
public void shutdown()
Copyright © 2021 JBoss by Red Hat. All rights reserved.