@ConfigurationProperties(prefix="server", ignoreUnknownFields=true) public class ServerProperties extends Object
@ConfigurationProperties
for a web server (e.g. port
and path settings).Modifier and Type | Class and Description |
---|---|
static class |
ServerProperties.ForwardHeadersStrategy
Strategies for supporting forward headers.
|
static class |
ServerProperties.Jetty
Jetty properties.
|
static class |
ServerProperties.Netty
Netty properties.
|
static class |
ServerProperties.Reactive
Reactive server properties.
|
static class |
ServerProperties.Servlet
Servlet server properties.
|
static class |
ServerProperties.Tomcat
Tomcat properties.
|
static class |
ServerProperties.Undertow
Undertow properties.
|
Constructor and Description |
---|
ServerProperties() |
Modifier and Type | Method and Description |
---|---|
InetAddress |
getAddress() |
Compression |
getCompression() |
ErrorProperties |
getError() |
ServerProperties.ForwardHeadersStrategy |
getForwardHeadersStrategy() |
Http2 |
getHttp2() |
ServerProperties.Jetty |
getJetty() |
DataSize |
getMaxHttpHeaderSize() |
ServerProperties.Netty |
getNetty() |
Integer |
getPort() |
ServerProperties.Reactive |
getReactive() |
String |
getServerHeader() |
ServerProperties.Servlet |
getServlet() |
Shutdown |
getShutdown() |
Ssl |
getSsl() |
ServerProperties.Tomcat |
getTomcat() |
ServerProperties.Undertow |
getUndertow() |
void |
setAddress(InetAddress address) |
void |
setForwardHeadersStrategy(ServerProperties.ForwardHeadersStrategy forwardHeadersStrategy) |
void |
setMaxHttpHeaderSize(DataSize maxHttpHeaderSize) |
void |
setPort(Integer port) |
void |
setServerHeader(String serverHeader) |
void |
setShutdown(Shutdown shutdown) |
void |
setSsl(Ssl ssl) |
public Integer getPort()
public void setPort(Integer port)
public InetAddress getAddress()
public void setAddress(InetAddress address)
public String getServerHeader()
public void setServerHeader(String serverHeader)
public DataSize getMaxHttpHeaderSize()
public void setMaxHttpHeaderSize(DataSize maxHttpHeaderSize)
public Shutdown getShutdown()
public void setShutdown(Shutdown shutdown)
public ErrorProperties getError()
public Ssl getSsl()
public void setSsl(Ssl ssl)
public Compression getCompression()
public Http2 getHttp2()
public ServerProperties.Servlet getServlet()
public ServerProperties.Reactive getReactive()
public ServerProperties.Tomcat getTomcat()
public ServerProperties.Jetty getJetty()
public ServerProperties.Netty getNetty()
public ServerProperties.Undertow getUndertow()
public ServerProperties.ForwardHeadersStrategy getForwardHeadersStrategy()
public void setForwardHeadersStrategy(ServerProperties.ForwardHeadersStrategy forwardHeadersStrategy)