AbstractReactiveWebInitializer@Deprecated public abstract class AbstractServletHttpHandlerAdapterInitializer extends java.lang.Object implements WebApplicationInitializer
WebApplicationInitializer
 implementations that register a ServletHttpHandlerAdapter in the
 servlet context.| Modifier and Type | Field and Description | 
|---|---|
| static java.lang.String | DEFAULT_SERVLET_NAMEDeprecated.  The default servlet name. | 
| Constructor and Description | 
|---|
| AbstractServletHttpHandlerAdapterInitializer()Deprecated.  | 
| Modifier and Type | Method and Description | 
|---|---|
| protected abstract HttpHandler | createHttpHandler()Deprecated.  Create the  HttpHandler. | 
| protected ServletHttpHandlerAdapter | createServlet(HttpHandler httpHandler)Deprecated.  Create a  ServletHttpHandlerAdapterwith the specified . | 
| protected void | customizeRegistration(ServletRegistration.Dynamic registration)Deprecated.  Optionally perform further registration customization once
  registerHandlerAdapter(ServletContext)has completed. | 
| protected abstract java.lang.String[] | getServletMappings()Deprecated.  Specify the servlet mapping(s) for the  ServletHttpHandlerAdapter:
 for example"/","/app", etc. | 
| protected java.lang.String | getServletName()Deprecated.  Return the name under which the  ServletHttpHandlerAdapterwill be registered. | 
| void | onStartup(ServletContext servletContext)Deprecated.  Configure the given  ServletContextwith any servlets, filters, listeners
 context-params and attributes necessary for initializing this web application. | 
| protected void | registerHandlerAdapter(ServletContext servletContext)Deprecated.  Register a  ServletHttpHandlerAdapteragainst the given servlet context. | 
public static final java.lang.String DEFAULT_SERVLET_NAME
getServletName().public AbstractServletHttpHandlerAdapterInitializer()
public void onStartup(ServletContext servletContext) throws ServletException
WebApplicationInitializerServletContext with any servlets, filters, listeners
 context-params and attributes necessary for initializing this web application. See
 examples above.onStartup in interface WebApplicationInitializerservletContext - the ServletContext to initializeServletException - if any call against the given ServletContext
 throws a ServletExceptionprotected void registerHandlerAdapter(ServletContext servletContext)
ServletHttpHandlerAdapter against the given servlet context.
 This method will create a HttpHandler using createHttpHandler(),
 and use it to create a ServletHttpHandlerAdapter with the name returned
 by getServletName(), and mapping it to the patterns returned from
 getServletMappings().
 
Further customization can be achieved by overriding
 customizeRegistration(ServletRegistration.Dynamic) or
 createServlet(HttpHandler).
servletContext - the context to register the servlet withprotected java.lang.String getServletName()
ServletHttpHandlerAdapter will be registered.
 Defaults to DEFAULT_SERVLET_NAME.registerHandlerAdapter(ServletContext)protected abstract HttpHandler createHttpHandler()
HttpHandler.protected ServletHttpHandlerAdapter createServlet(HttpHandler httpHandler)
ServletHttpHandlerAdapter  with the specified .
 The default implementation returns a ServletHttpHandlerAdapter
 with the provided httpHandler.
protected abstract java.lang.String[] getServletMappings()
ServletHttpHandlerAdapter:
 for example "/", "/app", etc.registerHandlerAdapter(ServletContext)protected void customizeRegistration(ServletRegistration.Dynamic registration)
registerHandlerAdapter(ServletContext) has completed.registration - the DispatcherServlet registration to be customizedregisterHandlerAdapter(ServletContext)