Class TomcatServletWebServerFactoryCustomizer
java.lang.Object
org.springframework.boot.autoconfigure.web.servlet.TomcatServletWebServerFactoryCustomizer
- All Implemented Interfaces:
WebServerFactoryCustomizer<TomcatServletWebServerFactory>
,Ordered
public class TomcatServletWebServerFactoryCustomizer
extends Object
implements WebServerFactoryCustomizer<TomcatServletWebServerFactory>, Ordered
WebServerFactoryCustomizer
to apply ServerProperties
to Tomcat web
servers.- Since:
- 2.0.0
- Author:
- Brian Clozel, Phillip Webb
-
Field Summary
Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
customize
(TomcatServletWebServerFactory factory) Customize the specifiedWebServerFactory
.int
getOrder()
-
Constructor Details
-
TomcatServletWebServerFactoryCustomizer
-
-
Method Details
-
getOrder
public int getOrder() -
customize
Description copied from interface:WebServerFactoryCustomizer
Customize the specifiedWebServerFactory
.- Specified by:
customize
in interfaceWebServerFactoryCustomizer<TomcatServletWebServerFactory>
- Parameters:
factory
- the web server factory to customize
-