Package io.streamthoughts.azkarra.http
Class UndertowEmbeddedServer
- java.lang.Object
-
- io.streamthoughts.azkarra.http.UndertowEmbeddedServer
-
- All Implemented Interfaces:
Configurable
,EmbeddedHttpServer
public class UndertowEmbeddedServer extends Object implements EmbeddedHttpServer
TheEmbeddedHttpServer
implementation using Undertow framework.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
UndertowEmbeddedServer.InternalRestExtensionContext
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
configure(Conf configuration)
Configures this instance with the specifiedConf
.ServerInfo
info()
void
start()
Starts this server.void
stop()
Stops this server and close any open resources.
-
-
-
Method Detail
-
configure
public void configure(Conf configuration)
Configures this instance with the specifiedConf
.- Specified by:
configure
in interfaceConfigurable
- Parameters:
configuration
- theConf
instance used to configure this instance.
-
info
public ServerInfo info()
- Specified by:
info
in interfaceEmbeddedHttpServer
-
start
public void start()
Starts this server.- Specified by:
start
in interfaceEmbeddedHttpServer
-
stop
public void stop()
Stops this server and close any open resources.- Specified by:
stop
in interfaceEmbeddedHttpServer
-
-