接口的使用
org.springframework.web.servlet.FlashMapManager
使用FlashMapManager的程序包 程序包 说明 org.springframework.test.web.servlet.setup Contains built-inMockMvcBuilder
implementations.org.springframework.web.servlet.support Support classes for Spring's web MVC framework.org.springframework.test.web.servlet.setup中FlashMapManager的使用
参数类型为FlashMapManager的org.springframework.test.web.servlet.setup中的方法 修饰符和类型 方法 说明 StandaloneMockMvcBuilder
StandaloneMockMvcBuilder. setFlashMapManager(FlashMapManager flashMapManager)
Provide a custom FlashMapManager instance.org.springframework.web.servlet.support中FlashMapManager的使用
实现FlashMapManager的org.springframework.web.servlet.support中的类 修饰符和类型 类 说明 class
AbstractFlashMapManager
A base class forFlashMapManager
implementations.class
SessionFlashMapManager
Store and retrieveFlashMap
instances to and from the HTTP session.返回FlashMapManager的org.springframework.web.servlet.support中的方法 修饰符和类型 方法 说明 static FlashMapManager
RequestContextUtils. getFlashMapManager(HttpServletRequest request)
Return theFlashMapManager
instance to save flash attributes.