@ConfigurationProperties(name="server",
ignoreUnknownFields=false)
public class ServerProperties
extends Object
implements org.springframework.boot.context.embedded.EmbeddedServletContainerCustomizer
properties for a web server (e.g. port and path
settings). Will be used to customize an EmbeddedServletContainerFactory when an
EmbeddedServletContainerCustomizerBeanPostProcessor is active.| Modifier and Type | Class and Description |
|---|---|
static class |
ServerProperties.Tomcat |
| Constructor and Description |
|---|
ServerProperties() |
| Modifier and Type | Method and Description |
|---|---|
void |
customize(org.springframework.boot.context.embedded.ConfigurableEmbeddedServletContainerFactory factory) |
InetAddress |
getAddress() |
String |
getContextPath() |
Integer |
getPort() |
Integer |
getSessionTimeout() |
ServerProperties.Tomcat |
getTomcat() |
void |
setAddress(InetAddress address) |
void |
setContextPath(String contextPath) |
void |
setLoader(String value) |
void |
setPort(Integer port) |
void |
setSessionTimeout(Integer sessionTimeout) |
public ServerProperties.Tomcat getTomcat()
public String getContextPath()
public void setContextPath(String contextPath)
public Integer getPort()
public void setPort(Integer port)
public InetAddress getAddress()
public void setAddress(InetAddress address)
public Integer getSessionTimeout()
public void setSessionTimeout(Integer sessionTimeout)
public void setLoader(String value)
public void customize(org.springframework.boot.context.embedded.ConfigurableEmbeddedServletContainerFactory factory)
customize in interface org.springframework.boot.context.embedded.EmbeddedServletContainerCustomizerCopyright © 2014. All rights reserved.