I know how to enable async support in the XML configuration, I did this for filters and servlets by adding a tag
async-supported>true/async-supported
How to do this in the Java configuration file. I am creating a WebInit class that implements WebApplicationInitializer and overrides onStartUp - what should I do next?
public class WebInit implements WebApplicationInitializer { @Override public void onStartup(ServletContext container) throws ServletException {
source share