@ConfigurationProperties(prefix="management.server", ignoreUnknownFields=true) public class ManagementServerProperties extends Object
ServerProperties
Modifier and Type | Class and Description |
---|---|
static class |
ManagementServerProperties.Servlet
Servlet properties.
|
Constructor and Description |
---|
ManagementServerProperties() |
Modifier and Type | Method and Description |
---|---|
InetAddress |
getAddress() |
String |
getBasePath() |
Integer |
getPort()
Returns the management port or
null if the
server port should be used. |
ManagementServerProperties.Servlet |
getServlet() |
Ssl |
getSsl() |
void |
setAddress(InetAddress address) |
void |
setBasePath(String basePath) |
void |
setPort(Integer port)
Sets the port of the management server, use
null if the
server port should be used. |
void |
setSsl(Ssl ssl) |
public Integer getPort()
null
if the
server port
should be used.setPort(Integer)
public void setPort(Integer port)
null
if the
server port
should be used. Set to 0 to use a
random port or set to -1 to disable.port
- the portpublic InetAddress getAddress()
public void setAddress(InetAddress address)
public String getBasePath()
public void setBasePath(String basePath)
public Ssl getSsl()
public void setSsl(Ssl ssl)
public ManagementServerProperties.Servlet getServlet()