public interface EmbeddedServer extends EmbeddedApplication<EmbeddedServer>
An EmbeddedServer is a general abstraction to manage the lifecycle of any server implementation within a running Micronaut application.
| Modifier and Type | Method and Description | 
|---|---|
| String | getHost() | 
| int | getPort() | 
| String | getScheme() | 
| URI | getURI() | 
| URL | getURL() | 
| default boolean | isKeepAlive()Most servers provide a way to block such that the server doesn't exit, however some require the creation of a keep alive thread. | 
| default boolean | isServer()This method returns whether the application is a server application or not. | 
getApplicationConfiguration, getApplicationContext, getEnvironment, isForceExitstart, stopint getPort()
String getHost()
String getScheme()
URL getURL()
URI getURI()
default boolean isServer()
EmbeddedApplicationisServer in interface EmbeddedApplication<EmbeddedServer>default boolean isKeepAlive()