Class ServerProperties.Tomcat
java.lang.Object
org.springframework.boot.autoconfigure.web.ServerProperties.Tomcat
- Enclosing class:
- ServerProperties
Tomcat properties.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Tomcat access log properties.static class
static class
static class
Tomcat static resource properties.static class
Tomcat thread properties. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
int
int
int
boolean
boolean
void
setAcceptCount
(int acceptCount) void
setAdditionalTldSkipPatterns
(List<String> additionalTldSkipPatterns) void
setBackgroundProcessorDelay
(Duration backgroundProcessorDelay) void
setBasedir
(File basedir) void
setConnectionTimeout
(Duration connectionTimeout) void
setKeepAliveTimeout
(Duration keepAliveTimeout) void
setMaxConnections
(int maxConnections) void
setMaxHttpFormPostSize
(DataSize maxHttpFormPostSize) void
setMaxKeepAliveRequests
(int maxKeepAliveRequests) void
setMaxSwallowSize
(DataSize maxSwallowSize) void
setProcessorCache
(int processorCache) void
setRedirectContextRoot
(Boolean redirectContextRoot) void
setRejectIllegalHeader
(boolean rejectIllegalHeader) void
setRelaxedPathChars
(List<Character> relaxedPathChars) void
setRelaxedQueryChars
(List<Character> relaxedQueryChars) void
setUriEncoding
(Charset uriEncoding) void
setUseRelativeRedirects
(boolean useRelativeRedirects)
-
Constructor Details
-
Tomcat
public Tomcat()
-
-
Method Details
-
getMaxHttpFormPostSize
-
setMaxHttpFormPostSize
-
getAccesslog
-
getThreads
-
getBackgroundProcessorDelay
-
setBackgroundProcessorDelay
-
getBasedir
-
setBasedir
-
getRedirectContextRoot
-
setRedirectContextRoot
-
isUseRelativeRedirects
public boolean isUseRelativeRedirects() -
setUseRelativeRedirects
public void setUseRelativeRedirects(boolean useRelativeRedirects) -
getUriEncoding
-
setUriEncoding
-
getMaxConnections
public int getMaxConnections() -
setMaxConnections
public void setMaxConnections(int maxConnections) -
getMaxSwallowSize
-
setMaxSwallowSize
-
getAcceptCount
public int getAcceptCount() -
setAcceptCount
public void setAcceptCount(int acceptCount) -
getProcessorCache
public int getProcessorCache() -
setProcessorCache
public void setProcessorCache(int processorCache) -
getKeepAliveTimeout
-
setKeepAliveTimeout
-
getMaxKeepAliveRequests
public int getMaxKeepAliveRequests() -
setMaxKeepAliveRequests
public void setMaxKeepAliveRequests(int maxKeepAliveRequests) -
getAdditionalTldSkipPatterns
-
setAdditionalTldSkipPatterns
-
getRelaxedPathChars
-
setRelaxedPathChars
-
getRelaxedQueryChars
-
setRelaxedQueryChars
-
getConnectionTimeout
-
setConnectionTimeout
-
isRejectIllegalHeader
@DeprecatedConfigurationProperty(reason="The setting has been deprecated in Tomcat") public boolean isRejectIllegalHeader() -
setRejectIllegalHeader
public void setRejectIllegalHeader(boolean rejectIllegalHeader) -
getResource
-
getMbeanregistry
-
getRemoteip
-