@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() |
String |
getDisplayName() |
ErrorProperties |
getError() |
Http2 |
getHttp2() |
ServerProperties.Jetty |
getJetty() |
int |
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 |
setDisplayName(String displayName) |
void |
setMaxHttpHeaderSize(int 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 String getDisplayName()
public void setDisplayName(String displayName)
public Boolean isUseForwardHeaders()
public void setUseForwardHeaders(Boolean useForwardHeaders)
public String getServerHeader()
public void setServerHeader(String serverHeader)
public int getMaxHttpHeaderSize()
public void setMaxHttpHeaderSize(int 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.