类 ServerProperties
- java.lang.Object
- org.springframework.boot.autoconfigure.web.ServerProperties
 
- @ConfigurationProperties(prefix="server", ignoreUnknownFields=true) public class ServerProperties extends Object- ConfigurationPropertiesfor a web server (e.g. port and path settings).
- 嵌套类概要- 嵌套类 - 修饰符和类型 - 类 - 说明 - static class- ServerProperties.JettyJetty properties.- static class- ServerProperties.ServletServlet properties.- static class- ServerProperties.TomcatTomcat properties.- static class- ServerProperties.UndertowUndertow properties.
 - 构造器概要- 构造器 - 构造器 - 说明 - ServerProperties()
 - 方法概要- 所有方法 实例方法 具体方法 - 修饰符和类型 - 方法 - 说明 - InetAddress- getAddress()- org.springframework.boot.web.server.Compression- getCompression()- Duration- getConnectionTimeout()- ErrorProperties- getError()- org.springframework.boot.web.server.Http2- getHttp2()- ServerProperties.Jetty- getJetty()- org.springframework.util.unit.DataSize- getMaxHttpHeaderSize()- Integer- getPort()- String- getServerHeader()- ServerProperties.Servlet- getServlet()- org.springframework.boot.web.server.Ssl- getSsl()- ServerProperties.Tomcat- getTomcat()- ServerProperties.Undertow- getUndertow()- Boolean- isUseForwardHeaders()- void- setAddress(InetAddress address)- void- setConnectionTimeout(Duration connectionTimeout)- void- setMaxHttpHeaderSize(org.springframework.util.unit.DataSize maxHttpHeaderSize)- void- setPort(Integer port)- void- setServerHeader(String serverHeader)- void- setSsl(org.springframework.boot.web.server.Ssl ssl)- void- setUseForwardHeaders(Boolean useForwardHeaders)
 
- 构造器详细资料- ServerProperties- public ServerProperties() 
 
 - 方法详细资料- getAddress- public InetAddress getAddress() 
 - setAddress- public void setAddress(InetAddress address) 
 - isUseForwardHeaders- public Boolean isUseForwardHeaders() 
 - setUseForwardHeaders- public void setUseForwardHeaders(Boolean useForwardHeaders) 
 - getServerHeader- public String getServerHeader() 
 - setServerHeader- public void setServerHeader(String serverHeader) 
 - getMaxHttpHeaderSize- public org.springframework.util.unit.DataSize getMaxHttpHeaderSize() 
 - setMaxHttpHeaderSize- public void setMaxHttpHeaderSize(org.springframework.util.unit.DataSize maxHttpHeaderSize) 
 - getConnectionTimeout- public Duration getConnectionTimeout() 
 - setConnectionTimeout- public void setConnectionTimeout(Duration connectionTimeout) 
 - getError- public ErrorProperties getError() 
 - getSsl- public org.springframework.boot.web.server.Ssl getSsl() 
 - setSsl- public void setSsl(org.springframework.boot.web.server.Ssl ssl) 
 - getCompression- public org.springframework.boot.web.server.Compression getCompression() 
 - getHttp2- public org.springframework.boot.web.server.Http2 getHttp2() 
 - getServlet- public ServerProperties.Servlet getServlet() 
 - getTomcat- public ServerProperties.Tomcat getTomcat() 
 - getJetty- public ServerProperties.Jetty getJetty() 
 - getUndertow- public ServerProperties.Undertow getUndertow()