spring-framework / org.springframework.web / WebApplicationInitializer / onStartup

onStartup

abstract fun onStartup(servletContext: ServletContext): Unit

Configure the given ServletContext with any servlets, filters, listeners context-params and attributes necessary for initializing this web application. See examples WebApplicationInitializer.

Parameters

servletContext - the ServletContext to initialize

Exceptions

ServletException - if any call against the given ServletContext throws a ServletException