spring-framework / org.springframework.web.servlet.support / RequestContextUtils / getFlashMapManager

getFlashMapManager

@Nullable open static fun getFlashMapManager(request: HttpServletRequest): FlashMapManager

Return the FlashMapManager instance to save flash attributes.

As of 5.0 the convenience method #saveOutputFlashMap may be used to save the "output" FlashMap.

Parameters

request - the current request

Return
a FlashMapManager instance, never null within a DispatcherServlet-handled request