java - How to register a servlet with enabled "async-supported" in Spring-Boot? -
i'm planing migrate old app spring-boot.
want stop using web.xml descriptor , register old pure servlet ("async-supported" enabled) , associated servletcontextlistener.
spring boot automatically register servlet
beans in application context servlet container. default async supported set true
there's nothing beyond creating bean servlet
.
if, whatever reason, want take more control on servlet's registration, then, rather exposing servlet bean, can wrap in servletregistrationbean
.
Comments
Post a Comment