类 ServletViewResolverComposite

java.lang.Object
cn.taketoday.core.OrderedSupport
cn.taketoday.web.view.ViewResolverComposite
cn.taketoday.web.servlet.ServletViewResolverComposite
所有已实现的接口:
cn.taketoday.beans.factory.Aware, cn.taketoday.beans.factory.InitializingBean, cn.taketoday.context.ApplicationContextAware, cn.taketoday.core.Ordered, ServletContextAware, ViewResolver

public class ServletViewResolverComposite extends ViewResolverComposite implements ServletContextAware
A Servlet ViewResolver that delegates to others.
从以下版本开始:
4.0 2022/2/8 16:06
作者:
Harry Yang
  • 构造器详细资料

    • ServletViewResolverComposite

      public ServletViewResolverComposite()
  • 方法详细资料

    • setServletContext

      public void setServletContext(ServletContext servletContext)
      从接口复制的说明: ServletContextAware
      Set the ServletContext that this object runs in.

      Invoked after population of normal bean properties but before an init callback like InitializingBean's afterPropertiesSet or a custom init-method. Invoked after ApplicationContextAware's setApplicationContext.

      指定者:
      setServletContext 在接口中 ServletContextAware
      参数:
      servletContext - the ServletContext object to be used by this object
      另请参阅:
      • InitializingBean.afterPropertiesSet()
      • ApplicationContextAware.setApplicationContext(cn.taketoday.context.ApplicationContext)