Class ManagementServerProperties
java.lang.Object
org.springframework.boot.actuate.autoconfigure.web.server.ManagementServerProperties
@ConfigurationProperties(prefix="management.server",
ignoreUnknownFields=true)
public class ManagementServerProperties
extends Object
Properties for the management server (e.g. port and path settings).
- Since:
- 2.0.0
- See Also:
-
ServerProperties
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetPort()Returns the management port ornullif theserver portshould be used.org.springframework.boot.web.server.SslgetSsl()voidsetAddress(InetAddress address) voidsetBasePath(String basePath) voidSets the port of the management server, usenullif theserver portshould be used.voidsetSsl(org.springframework.boot.web.server.Ssl ssl)
-
Constructor Details
-
ManagementServerProperties
public ManagementServerProperties()
-
-
Method Details
-
getPort
Returns the management port ornullif theserver portshould be used.- Returns:
- the port
- See Also:
-
setPort
Sets the port of the management server, usenullif theserver portshould be used. Set to 0 to use a random port or set to -1 to disable.- Parameters:
port- the port
-
getAddress
-
setAddress
-
getBasePath
-
setBasePath
-
getSsl
public org.springframework.boot.web.server.Ssl getSsl() -
setSsl
public void setSsl(org.springframework.boot.web.server.Ssl ssl)
-