Class 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).
Since:
2.0.0
Author:
Dave Syer, Stephane Nicoll, Vedran Pavic
See Also:
  • Constructor Details

    • ManagementServerProperties

      public ManagementServerProperties()
  • Method Details

    • getPort

      public Integer getPort()
      Returns the management port or null if the server port should be used.
      Returns:
      the port
      See Also:
    • setPort

      public void setPort(Integer port)
      Sets the port of the management server, use null if the server port should be used. Set to 0 to use a random port or set to -1 to disable.
      Parameters:
      port - the port
    • getAddress

      public InetAddress getAddress()
    • setAddress

      public void setAddress(InetAddress address)
    • getBasePath

      public String getBasePath()
    • setBasePath

      public void setBasePath(String basePath)
    • getSsl

      public Ssl getSsl()
    • setSsl

      public void setSsl(Ssl ssl)