@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.
|
class |
ServerProperties.Servlet
Servlet properties.
|
static class |
ServerProperties.Session
Session 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() |
Integer |
getConnectionTimeout() |
String |
getDisplayName() |
ErrorProperties |
getError() |
ServerProperties.Jetty |
getJetty() |
int |
getMaxHttpHeaderSize() |
Integer |
getPort() |
String |
getServerHeader() |
ServerProperties.Servlet |
getServlet() |
ServerProperties.Session |
getSession() |
Ssl |
getSsl() |
ServerProperties.Tomcat |
getTomcat() |
ServerProperties.Undertow |
getUndertow() |
Boolean |
isUseForwardHeaders() |
void |
setAddress(InetAddress address) |
void |
setConnectionTimeout(Integer connectionTimeout) |
void |
setDisplayName(String displayName) |
void |
setMaxHttpHeaderSize(int maxHttpHeaderSize) |
void |
setPort(Integer port) |
void |
setServerHeader(String serverHeader) |
void |
setServlet(ServerProperties.Servlet servlet) |
void |
setSession(ServerProperties.Session session) |
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 Integer getConnectionTimeout()
public void setConnectionTimeout(Integer connectionTimeout)
public ErrorProperties getError()
public ServerProperties.Session getSession()
public void setSession(ServerProperties.Session session)
public Ssl getSsl()
public void setSsl(Ssl ssl)
public Compression getCompression()
public ServerProperties.Servlet getServlet()
public void setServlet(ServerProperties.Servlet servlet)
public ServerProperties.Tomcat getTomcat()
public ServerProperties.Jetty getJetty()
public ServerProperties.Undertow getUndertow()
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.