- 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 Stringhost()Get the host this server listens on.intport()Get the port this server listens on or-1if the server is not running.Serverstart()Start this server (can only be used once).Serverstop()Stop this server immediately (can only be used on a started server).
-
-
-
Method Detail
-
start
public Server start()
Description copied from interface:ServerStart this server (can only be used once). This is a blocking call.
-
stop
public Server stop()
Description copied from interface:ServerStop this server immediately (can only be used on a started server). This is a blocking call.
-
host
public String host()
Description copied from interface:ServerGet the host this server listens on.
-
-