- java.lang.Object
-
- io.helidon.microprofile.server.ServerImpl
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface io.helidon.microprofile.server.Server
Server.Builder
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
host()
Get the host this server listens on.int
port()
Get the port this server listens on or-1
if the server is not running.Server
start()
Start this server (can only be used once).Server
stop()
Stop this server immediately (can only be used on a started server).
-
-
-
Method Detail
-
start
public Server start()
Description copied from interface:Server
Start this server (can only be used once). This is a blocking call.
-
stop
public Server stop()
Description copied from interface:Server
Stop this server immediately (can only be used on a started server). This is a blocking call.
-
host
public String host()
Description copied from interface:Server
Get the host this server listens on.
-
-