接口的使用
org.springframework.boot.web.embedded.tomcat.TomcatProtocolHandlerCustomizer
程序包
说明
Embedded reactive and servlet web server implementations backed by Tomcat.
-
org.springframework.boot.web.embedded.tomcat中TomcatProtocolHandlerCustomizer的使用
修饰符和类型方法说明TomcatReactiveWebServerFactory.getTomcatProtocolHandlerCustomizers()
Returns a mutable collection of theTomcatProtocolHandlerCustomizer
s that will be applied to the TomcatConnector
.TomcatServletWebServerFactory.getTomcatProtocolHandlerCustomizers()
Returns a mutable collection of theTomcatProtocolHandlerCustomizer
s that will be applied to the TomcatConnector
.修饰符和类型方法说明void
ConfigurableTomcatWebServerFactory.addProtocolHandlerCustomizers
(TomcatProtocolHandlerCustomizer<?>... tomcatProtocolHandlerCustomizers) AddTomcatProtocolHandlerCustomizer
s that should be added to the TomcatConnector
.void
TomcatReactiveWebServerFactory.addProtocolHandlerCustomizers
(TomcatProtocolHandlerCustomizer<?>... tomcatProtocolHandlerCustomizers) AddTomcatProtocolHandlerCustomizer
s that should be added to the TomcatConnector
.void
TomcatServletWebServerFactory.addProtocolHandlerCustomizers
(TomcatProtocolHandlerCustomizer<?>... tomcatProtocolHandlerCustomizers) AddTomcatProtocolHandlerCustomizer
s that should be added to the TomcatConnector
.修饰符和类型方法说明void
TomcatReactiveWebServerFactory.setTomcatProtocolHandlerCustomizers
(Collection<? extends TomcatProtocolHandlerCustomizer<?>> tomcatProtocolHandlerCustomizers) SetTomcatProtocolHandlerCustomizer
s that should be applied to the TomcatConnector
.void
TomcatServletWebServerFactory.setTomcatProtocolHandlerCustomizers
(Collection<? extends TomcatProtocolHandlerCustomizer<?>> tomcatProtocolHandlerCustomizer) SetTomcatProtocolHandlerCustomizer
s that should be applied to the TomcatConnector
.