类的使用
org.springframework.web.servlet.support.WebContentGenerator
使用WebContentGenerator的程序包 程序包 说明 org.springframework.web.servlet.mvc Standard controller implementations for the Servlet MVC framework that comes with Spring.org.springframework.web.servlet.mvc.method Servlet-based infrastructure for handler method processing, building on theorg.springframework.web.method
package.org.springframework.web.servlet.mvc.method.annotation MVC infrastructure for annotation-based handler method processing, building on theorg.springframework.web.method.annotation
package.org.springframework.web.servlet.resource Support classes for serving static resources.org.springframework.web.servlet.mvc中WebContentGenerator的使用
org.springframework.web.servlet.mvc中WebContentGenerator的子类 修饰符和类型 类 说明 class
AbstractController
Convenient superclass for controller implementations, using the Template Method design pattern.class
AbstractUrlViewController
Abstract base class forControllers
that return a view name based on the request URL.class
ParameterizableViewController
Trivial controller that always returns a pre-configured view and optionally sets the response status code.class
ServletForwardingController
Spring Controller implementation that forwards to a named servlet, i.e. the "servlet-name" in web.xml rather than a URL path mapping.class
ServletWrappingController
Spring Controller implementation that wraps a servlet instance which it manages internally.class
UrlFilenameViewController
SimpleController
implementation that transforms the virtual path of a URL into a view name and returns that view.class
WebContentInterceptor
Handler interceptor that checks the request and prepares the response.org.springframework.web.servlet.mvc.method中WebContentGenerator的使用
org.springframework.web.servlet.mvc.method中WebContentGenerator的子类 修饰符和类型 类 说明 class
AbstractHandlerMethodAdapter
Abstract base class forHandlerAdapter
implementations that support handlers of typeHandlerMethod
.org.springframework.web.servlet.mvc.method.annotation中WebContentGenerator的使用
org.springframework.web.servlet.resource中WebContentGenerator的使用
org.springframework.web.servlet.resource中WebContentGenerator的子类 修饰符和类型 类 说明 class
ResourceHttpRequestHandler
HttpRequestHandler
that serves static resources in an optimized way according to the guidelines of Page Speed, YSlow, etc.