接口的使用
org.springframework.web.servlet.FlashMapManager
使用FlashMapManager的程序包 程序包 说明 org.springframework.test.web.servlet.setup Contains built-inMockMvcBuilderimplementations.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中的方法 修饰符和类型 方法 说明 StandaloneMockMvcBuilderStandaloneMockMvcBuilder. setFlashMapManager(FlashMapManager flashMapManager)Provide a custom FlashMapManager instance.org.springframework.web.servlet.support中FlashMapManager的使用
实现FlashMapManager的org.springframework.web.servlet.support中的类 修饰符和类型 类 说明 classAbstractFlashMapManagerA base class forFlashMapManagerimplementations.classSessionFlashMapManagerStore and retrieveFlashMapinstances to and from the HTTP session.返回FlashMapManager的org.springframework.web.servlet.support中的方法 修饰符和类型 方法 说明 static FlashMapManagerRequestContextUtils. getFlashMapManager(HttpServletRequest request)Return theFlashMapManagerinstance to save flash attributes.