@ConfigurationProperties(prefix="management.server", ignoreUnknownFields=true) public class ManagementServerProperties extends Object implements SecurityPrerequisite
ServerProperties
Modifier and Type | Class and Description |
---|---|
static class |
ManagementServerProperties.Servlet
Servlet properties.
|
Constructor and Description |
---|
ManagementServerProperties() |
Modifier and Type | Method and Description |
---|---|
boolean |
getAddApplicationContextHeader() |
InetAddress |
getAddress() |
Integer |
getPort()
Returns the management port or
null if the
server port should be used. |
ManagementServerProperties.Servlet |
getServlet() |
Ssl |
getSsl() |
void |
setAddApplicationContextHeader(boolean addApplicationContextHeader) |
void |
setAddress(InetAddress address) |
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. To disable use 0.port
- the portpublic InetAddress getAddress()
public void setAddress(InetAddress address)
public Ssl getSsl()
public void setSsl(Ssl ssl)
public ManagementServerProperties.Servlet getServlet()
public boolean getAddApplicationContextHeader()
public void setAddApplicationContextHeader(boolean addApplicationContextHeader)
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.