接口的使用
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 theTomcatProtocolHandlerCustomizers that will be applied to the TomcatConnector.TomcatServletWebServerFactory.getTomcatProtocolHandlerCustomizers()Returns a mutable collection of theTomcatProtocolHandlerCustomizers that will be applied to the TomcatConnector.修饰符和类型方法说明voidConfigurableTomcatWebServerFactory.addProtocolHandlerCustomizers(TomcatProtocolHandlerCustomizer<?>... tomcatProtocolHandlerCustomizers) AddTomcatProtocolHandlerCustomizers that should be added to the TomcatConnector.voidTomcatReactiveWebServerFactory.addProtocolHandlerCustomizers(TomcatProtocolHandlerCustomizer<?>... tomcatProtocolHandlerCustomizers) AddTomcatProtocolHandlerCustomizers that should be added to the TomcatConnector.voidTomcatServletWebServerFactory.addProtocolHandlerCustomizers(TomcatProtocolHandlerCustomizer<?>... tomcatProtocolHandlerCustomizers) AddTomcatProtocolHandlerCustomizers that should be added to the TomcatConnector.修饰符和类型方法说明voidTomcatReactiveWebServerFactory.setTomcatProtocolHandlerCustomizers(Collection<? extends TomcatProtocolHandlerCustomizer<?>> tomcatProtocolHandlerCustomizers) SetTomcatProtocolHandlerCustomizers that should be applied to the TomcatConnector.voidTomcatServletWebServerFactory.setTomcatProtocolHandlerCustomizers(Collection<? extends TomcatProtocolHandlerCustomizer<?>> tomcatProtocolHandlerCustomizer) SetTomcatProtocolHandlerCustomizers that should be applied to the TomcatConnector.