程序包 cn.taketoday.web.servlet
package cn.taketoday.web.servlet
-
类说明A generic composite servlet
Filterthat just delegates its behavior to a chain (list) of user-supplied filters, achieving the functionality of aFilterChain, but conveniently using onlyFilterinstances.Interface to be implemented by configurable web application contexts.Specialization ofConfigurableEnvironmentallowing initialization of servlet-relatedPropertySourceobjects at the earliest moment that theServletContextand (optionally)ServletConfigbecome available.HttpServletRequestwrapper that caches all content read from the input stream and reader, and allows this content to be retrieved via abyte array.HttpServletResponsewrapper that caches all content written to the output stream and writer, and allows this content to be retrieved via abyte array.Web application listener that cleans up remaining disposable attributes in the ServletContext, i.e. attributes which implementDisposableBeanand haven't been removed before.Performs the actual initialization work for the root application context.Bootstrap listener to start up and shut down Framework's rootWebApplicationContext.Helper class for cookie generation, carrying cookie descriptor settings as bean properties and being able to add and remove cookie to/from a given response.Central dispatcher for HTTP request handlers/controllers in ServletListener that flushes the JDK'sJavaBeans Introspectorcache on web app shutdown.Interface to be implemented by any object that wishes to be notified of theServletConfig(typically determined by theWebApplicationContext) that it runs in.Interface to be implemented by any object that wishes to be notified of theServletContext(typically determined by theWebApplicationContext) that it runs in.Servlet environment implementationSimple wrapper around the defaultRequestPathimplementation that supports a servletPath as an additional prefix to be omitted fromServletRequestContext.ServletRequestPath.pathWithinApplication().A ServletViewResolverthat delegates to others.Helper class for URL path matching.Interface to provide configuration for a servlet web application.Convenient superclass for application objects running in aWebApplicationContext.