Server configuration bean.
There is a generated
DefaultServerConfig implementing this type, that can be used
to create an instance manually through a builder, or using configuration.-
Method Summary
-
Method Details
-
host
String host()Host of the default socket. Defaults to all host addresses (0.0.0.0).- Returns:
- host address to listen on (for the default socket)
-
port
int port()Port of the default socket. If configured to0(the default), server starts on a random port.- Returns:
- port to listen on (for the default socket)
-