public class ApiInitializer extends BaseServletInitializer implements org.springframework.web.WebApplicationInitializer
Servlet3.0 工程入口类
WebInitializer
构造器和说明 |
---|
ApiInitializer() |
限定符和类型 | 方法和说明 |
---|---|
protected void |
customizeRegistration(javax.servlet.ServletRegistration.Dynamic registration) |
private java.lang.String |
getDirPath(java.lang.String path) |
protected java.lang.Class<?>[] |
getServletConfigClasses() |
protected java.lang.String[] |
getServletMappings() |
createDispatcherServlet, createRootApplicationContext, createServletApplicationContext, getServletFilters, getServletName
getServletApplicationContextInitializers, isAsyncSupported, onStartup, registerDispatcherServlet, registerServletFilter
getRootApplicationContextInitializers, registerContextLoaderListener
protected java.lang.Class<?>[] getServletConfigClasses()
protected void customizeRegistration(javax.servlet.ServletRegistration.Dynamic registration)
customizeRegistration
在类中 org.springframework.web.servlet.support.AbstractDispatcherServletInitializer
private java.lang.String getDirPath(java.lang.String path)
protected java.lang.String[] getServletMappings()
getServletMappings
在类中 org.springframework.web.servlet.support.AbstractDispatcherServletInitializer