spring-framework / org.springframework.web.context.support / StaticWebApplicationContext / setServletContext

setServletContext

open fun setServletContext(@Nullable servletContext: ServletContext): Unit

Set the ServletContext that this WebApplicationContext runs in.