使用Tomcat的LegacyCookieProcessor处理器

动态 0 383
sio6d
sio6d LV1 2021年5月17日 22:31 发表
点击群号免费加入社区交流群:367346704
<pre><code>@Bean<br>public WebServerFactoryCustomizer&lt;TomcatServletWebServerFactory&gt; cookieProcessorCustomizer() {<br> return (factory) -&gt; factory<br> .addContextCustomizers((context) -&gt; context.setCookieProcessor(new LegacyCookieProcessor()));<br>}</code></pre><p><br></p>
收藏(1)  分享
相关标签: tomcat
0个回复
  • 消灭零回复