@ConfigurationProperties(prefix="management", ignoreUnknownFields=true) public class ManagementServerProperties extends Object implements SecurityPrerequisite
ServerProperties
Constructor and Description |
---|
ManagementServerProperties() |
Modifier and Type | Method and Description |
---|---|
boolean |
getAddApplicationContextHeader() |
InetAddress |
getAddress() |
String |
getContextPath()
Return the context path with no trailing slash (i.e.
|
Integer |
getPort()
Returns the management port or
null if the
server port should be used. |
Ssl |
getSsl() |
void |
setAddApplicationContextHeader(boolean addApplicationContextHeader) |
void |
setAddress(InetAddress address) |
void |
setContextPath(String contextPath) |
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 Ssl getSsl()
public void setSsl(Ssl ssl)
public InetAddress getAddress()
public void setAddress(InetAddress address)
public String getContextPath()
public void setContextPath(String contextPath)
public boolean getAddApplicationContextHeader()
public void setAddApplicationContextHeader(boolean addApplicationContextHeader)
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.