程序包 cn.taketoday.web.servlet.support
package cn.taketoday.web.servlet.support
-
类类说明
AbstractRefreshableApplicationContextsubclass which implements theConfigurableWebApplicationContextinterface for web environments.WebApplicationContextimplementation which accepts component classes as input — in particular@Configurationclasses, but also plain@Componentclasses as well as JSR-330 compliant classes usingjakarta.injectannotations.Subclass ofGenericApplicationContext, suitable for web servlet environments.PropertySourcethat reads init parameters from aServletConfigobject.Exporter that takes Frameworkdefined objects and exposes them as ServletContext attributes.FactoryBeanthat fetches a specific, existing ServletContext attribute.BeanPostProcessorimplementation that passes the ServletContext to beans that implement theServletContextAwareinterface.FactoryBeanthat retrieves a specific ServletContext init parameter (that is, a "context-param" defined inweb.xml).PropertySourcethat reads init parameters from aServletContextobject.Resourceimplementation forServletContextresources, interpreting relative paths within the web application root directory.ResourceLoader implementation that resolves paths as ServletContext resources, for use outside a WebApplicationContext (for example, in an HttpServletBean or GenericFilterBean subclass).ServletContext-aware subclass ofPathMatchingPatternResourceLoader, able to find matching resources below the web application root directory viaServletContext.getResourcePaths(java.lang.String).UriComponentsBuilder with additional static factory methods to create links based on the current HttpServletRequest.Environmentimplementation to be used byServlet-based web applications.StaticWebApplicationContextimplementation for testing.Convenience methods for retrieving the rootWebApplicationContextfor a givenServletContext.Factory that exposes the current request object on demand.Factory that exposes the current response object on demand.Factory that exposes the current session object on demand.WebApplicationContextimplementation which takes its configuration from XML documents, understood by anXmlBeanDefinitionReader.