public class ResourceInitializer
extends java.lang.Object
implements org.springframework.web.WebApplicationInitializer
构造器和说明 |
---|
ResourceInitializer() |
限定符和类型 | 方法和说明 |
---|---|
protected javax.servlet.Filter[] |
getServletFilters() |
void |
onStartup(javax.servlet.ServletContext servletContext) |
protected javax.servlet.FilterRegistration.Dynamic |
registerServletFilter(javax.servlet.ServletContext servletContext,
javax.servlet.Filter filter,
java.lang.String[] servletNames) |
public void onStartup(javax.servlet.ServletContext servletContext) throws javax.servlet.ServletException
onStartup
在接口中 org.springframework.web.WebApplicationInitializer
javax.servlet.ServletException
protected javax.servlet.FilterRegistration.Dynamic registerServletFilter(javax.servlet.ServletContext servletContext, javax.servlet.Filter filter, java.lang.String[] servletNames)
protected javax.servlet.Filter[] getServletFilters()