public static class ServerProperties.Tomcat extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ServerProperties.Tomcat.Accesslog
Tomcat access log properties.
|
static class |
ServerProperties.Tomcat.Mbeanregistry |
static class |
ServerProperties.Tomcat.Remoteip |
static class |
ServerProperties.Tomcat.Resource
Tomcat static resource properties.
|
Constructor and Description |
---|
Tomcat() |
public int getMaxThreads()
public void setMaxThreads(int maxThreads)
public int getMinSpareThreads()
public void setMinSpareThreads(int minSpareThreads)
@Deprecated @DeprecatedConfigurationProperty(replacement="server.tomcat.max-http-form-post-size") public DataSize getMaxHttpPostSize()
@Deprecated public void setMaxHttpPostSize(DataSize maxHttpPostSize)
public DataSize getMaxHttpFormPostSize()
public void setMaxHttpFormPostSize(DataSize maxHttpFormPostSize)
public ServerProperties.Tomcat.Accesslog getAccesslog()
public Duration getBackgroundProcessorDelay()
public void setBackgroundProcessorDelay(Duration backgroundProcessorDelay)
public File getBasedir()
public void setBasedir(File basedir)
@DeprecatedConfigurationProperty(replacement="server.tomcat.remoteip.internal-proxies") public String getInternalProxies()
public void setInternalProxies(String internalProxies)
@DeprecatedConfigurationProperty(replacement="server.tomcat.remoteip.protocol-header") public String getProtocolHeader()
public void setProtocolHeader(String protocolHeader)
@DeprecatedConfigurationProperty(replacement="server.tomcat.remoteip.protocol-header-https-value") public String getProtocolHeaderHttpsValue()
public void setProtocolHeaderHttpsValue(String protocolHeaderHttpsValue)
@DeprecatedConfigurationProperty(replacement="server.tomcat.remoteip.host-header") public String getHostHeader()
public void setHostHeader(String hostHeader)
@DeprecatedConfigurationProperty(replacement="server.tomcat.remote.port-header") public String getPortHeader()
public void setPortHeader(String portHeader)
@DeprecatedConfigurationProperty(replacement="server.tomcat.remoteip.remote-ip-header") public String getRemoteIpHeader()
public void setRemoteIpHeader(String remoteIpHeader)
public Boolean getRedirectContextRoot()
public void setRedirectContextRoot(Boolean redirectContextRoot)
public Boolean getUseRelativeRedirects()
public void setUseRelativeRedirects(Boolean useRelativeRedirects)
public Charset getUriEncoding()
public void setUriEncoding(Charset uriEncoding)
public int getMaxConnections()
public void setMaxConnections(int maxConnections)
public DataSize getMaxSwallowSize()
public void setMaxSwallowSize(DataSize maxSwallowSize)
public int getAcceptCount()
public void setAcceptCount(int acceptCount)
public int getProcessorCache()
public void setProcessorCache(int processorCache)
public void setAdditionalTldSkipPatterns(List<String> additionalTldSkipPatterns)
public Duration getConnectionTimeout()
public void setConnectionTimeout(Duration connectionTimeout)
public ServerProperties.Tomcat.Resource getResource()
public ServerProperties.Tomcat.Mbeanregistry getMbeanregistry()
public ServerProperties.Tomcat.Remoteip getRemoteip()