类 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).- 从以下版本开始:
- 2.0.0
- 另请参阅:
ServerProperties
嵌套类概要
嵌套类 修饰符和类型 类 说明 static class
ManagementServerProperties.Servlet
Servlet properties.
构造器概要
构造器 构造器 说明 ManagementServerProperties()
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 InetAddress
getAddress()
Integer
getPort()
Returns the management port ornull
if theserver port
should be used.ManagementServerProperties.Servlet
getServlet()
org.springframework.boot.web.server.Ssl
getSsl()
void
setAddress(InetAddress address)
void
setPort(Integer port)
Sets the port of the management server, usenull
if theserver port
should be used.void
setSsl(org.springframework.boot.web.server.Ssl ssl)
构造器详细资料
ManagementServerProperties
public ManagementServerProperties()
方法详细资料
getPort
public Integer getPort()
Returns the management port ornull
if theserver port
should be used.- 返回:
- the port
- 另请参阅:
setPort(Integer)
setPort
public void setPort(Integer port)
Sets the port of the management server, usenull
if theserver port
should be used. To disable use 0.- 参数:
port
- the port
getAddress
public InetAddress getAddress()
setAddress
public void setAddress(InetAddress address)
getSsl
public org.springframework.boot.web.server.Ssl getSsl()
setSsl
public void setSsl(org.springframework.boot.web.server.Ssl ssl)
getServlet
public ManagementServerProperties.Servlet getServlet()