@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.Jetty
Jetty properties.
|
static class |
ServerProperties.Servlet
Servlet 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() |
Duration |
getConnectionTimeout() |
ErrorProperties |
getError() |
Http2 |
getHttp2() |
ServerProperties.Jetty |
getJetty() |
DataSize |
getMaxHttpHeaderSize() |
Integer |
getPort() |
String |
getServerHeader() |
ServerProperties.Servlet |
getServlet() |
Ssl |
getSsl() |
ServerProperties.Tomcat |
getTomcat() |
ServerProperties.Undertow |
getUndertow() |
Boolean |
isUseForwardHeaders() |
void |
setAddress(InetAddress address) |
void |
setConnectionTimeout(Duration connectionTimeout) |
void |
setMaxHttpHeaderSize(DataSize maxHttpHeaderSize) |
void |
setPort(Integer port) |
void |
setServerHeader(String serverHeader) |
void |
setSsl(Ssl ssl) |
void |
setUseForwardHeaders(Boolean useForwardHeaders) |
public Integer getPort()
public void setPort(Integer port)
public InetAddress getAddress()
public void setAddress(InetAddress address)
public Boolean isUseForwardHeaders()
public void setUseForwardHeaders(Boolean useForwardHeaders)
public String getServerHeader()
public void setServerHeader(String serverHeader)
public DataSize getMaxHttpHeaderSize()
public void setMaxHttpHeaderSize(DataSize maxHttpHeaderSize)
public Duration getConnectionTimeout()
public void setConnectionTimeout(Duration connectionTimeout)
public ErrorProperties getError()
public Ssl getSsl()
public void setSsl(Ssl ssl)
public Compression getCompression()
public Http2 getHttp2()
public ServerProperties.Servlet getServlet()
public ServerProperties.Tomcat getTomcat()
public ServerProperties.Jetty getJetty()
public ServerProperties.Undertow getUndertow()
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.