使用Tomcat的LegacyCookieProcessor处理器
<pre><code>@Bean<br>public WebServerFactoryCustomizer<TomcatServletWebServerFactory> cookieProcessorCustomizer() {<br> return (factory) -> factory<br> .addContextCustomizers((context) -> context.setCookieProcessor(new LegacyCookieProcessor()));<br>}</code></pre><p><br></p>
收藏(1)
分享
相关标签: