Class ManagementServerProperties
java.lang.Object
org.springframework.boot.actuate.autoconfigure.web.server.ManagementServerProperties
@ConfigurationProperties("management.server")
public class ManagementServerProperties
extends Object
Properties for the management server (e.g. port and path settings).
- Since:
- 2.0.0
- Author:
- Dave Syer, Stephane Nicoll, Vedran Pavic, Moritz Halbritter
- See Also:
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescription@Nullable InetAddress@Nullable IntegergetPort()Returns the management port ornullif theserver portshould be used.@Nullable SslgetSsl()voidsetAddress(@Nullable InetAddress address) voidsetBasePath(String basePath) voidSets the port of the management server, usenullif theserver portshould be used.void
- 
Constructor Details- 
ManagementServerPropertiespublic ManagementServerProperties()
 
- 
- 
Method Details- 
getPortReturns the management port ornullif theserver portshould be used.- Returns:
- the port
- See Also:
 
- 
setPortSets 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
- 
setSsl
 
-