Class WebApplicationContextServletContextAwareProcessor

java.lang.Object
org.springframework.web.context.support.ServletContextAwareProcessor
org.springframework.boot.web.servlet.context.WebApplicationContextServletContextAwareProcessor
All Implemented Interfaces:
org.springframework.beans.factory.config.BeanPostProcessor

public class WebApplicationContextServletContextAwareProcessor extends org.springframework.web.context.support.ServletContextAwareProcessor
Variant of ServletContextAwareProcessor for use with a ConfigurableWebApplicationContext. Can be used when registering the processor can occur before the ServletContext or ServletConfig have been initialized.
Since:
1.0.0
  • Constructor Details

    • WebApplicationContextServletContextAwareProcessor

      public WebApplicationContextServletContextAwareProcessor(org.springframework.web.context.ConfigurableWebApplicationContext webApplicationContext)
  • Method Details

    • getServletContext

      protected jakarta.servlet.ServletContext getServletContext()
      Overrides:
      getServletContext in class org.springframework.web.context.support.ServletContextAwareProcessor
    • getServletConfig

      protected jakarta.servlet.ServletConfig getServletConfig()
      Overrides:
      getServletConfig in class org.springframework.web.context.support.ServletContextAwareProcessor