类 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).
- 从以下版本开始:
- 2.0.0
- 作者:
- Dave Syer, Stephane Nicoll, Vedran Pavic
- 另请参阅:
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明getPort()
Returns the management port ornull
if theserver port
should be used.getSsl()
void
setAddress
(InetAddress address) void
setBasePath
(String basePath) void
Sets the port of the management server, usenull
if theserver port
should be used.void
-
构造器详细资料
-
ManagementServerProperties
public ManagementServerProperties()
-
-
方法详细资料
-
getPort
Returns the management port ornull
if theserver port
should be used.- 返回:
- the port
- 另请参阅:
-
setPort
Sets the port of the management server, usenull
if theserver port
should be used. Set to 0 to use a random port or set to -1 to disable.- 参数:
port
- the port
-
getAddress
-
setAddress
-
getBasePath
-
setBasePath
-
getSsl
-
setSsl
-