接口的使用
cn.taketoday.web.servlet.ServletContextAware
使用ServletContextAware的程序包
程序包
说明
Standard controller implementations for the MVC framework use like Framework
Support classes for serving static resources.
-
cn.taketoday.web.handler.mvc中ServletContextAware的使用
修饰符和类型类说明classController implementation that forwards to a named servlet, i.e. the "servlet-name" in web.xml rather than a URL path mapping.classFramework Controller implementation that wraps a servlet instance which it manages internally. -
cn.taketoday.web.resource中ServletContextAware的使用
修饰符和类型类说明classAnHttpRequestHandlerfor serving static files using the Servlet container's "default" Servlet. -
cn.taketoday.web.servlet中ServletContextAware的使用
修饰符和类型类说明classA ServletViewResolverthat delegates to others.classConvenient superclass for application objects running in aWebApplicationContext. -
cn.taketoday.web.servlet.filter中ServletContextAware的使用
修饰符和类型类说明classOncePerRequestFilterto add an X-Application-Context header that contains theApplicationContext ID.classServlet Filter that allows one to specify a character encoding for requests.classFilterthat handles CORS preflight requests and intercepts CORS simple and actual requests thanks to aCorsProcessorimplementation (DefaultCorsProcessorby default) in order to add the relevant CORS response headers (likeAccess-Control-Allow-Origin) using the providedCorsConfigurationSourceclassProxy for a standard Servlet Filter, delegating to a Frameworkmanaged bean that implements the Filter interface.classFilterthat parses form data for HTTP PUT, PATCH, and DELETE requests and exposes it as Servlet request parameters.classExtract values from "Forwarded" and "X-Forwarded-*" headers, wrap the request and response, and make they reflect the client-originated protocol and address in the following methods:getServerName()getServerPort()getScheme()isSecure()sendRedirect(String).classSimple base implementation ofFilterwhich treats its config parameters (init-paramentries within thefiltertag inweb.xml) as bean properties.classFilterthat converts posted method parameters into HTTP methods, retrievable viaHttpServletRequest.getMethod().classFilter base class that aims to guarantee a single execution per request dispatch, on any servlet container.classFormContentFilterthat also implementsOrdered.classHiddenHttpMethodFilterthat also implementsOrdered.classOverridesHttpServletResponse.sendRedirect(String)and handles it by setting the HTTP status and "Location" headers, which keeps the Servlet container from re-writing relative redirect URLs into absolute ones.classFilterthat generates anETagvalue based on the content on the response. -
cn.taketoday.web.servlet.support中ServletContextAware的使用
修饰符和类型类说明classExporter that takes Frameworkdefined objects and exposes them as ServletContext attributes.classFactoryBeanthat fetches a specific, existing ServletContext attribute.classFactoryBeanthat retrieves a specific ServletContext init parameter (that is, a "context-param" defined inweb.xml). -
cn.taketoday.web.servlet.view中ServletContextAware的使用
修饰符和类型类说明classWrapper for a JSP or other resource within the same web application.classSpecialization ofInternalResourceViewfor JSTL pages, i.e.