org.springframework.web.servlet

Interface FlashMapManager

    • Method Detail

      • saveOutputFlashMap

        void saveOutputFlashMap(FlashMap flashMap,
                                HttpServletRequest request,
                                HttpServletResponse response)
        Save the given FlashMap, in some underlying storage and set the start of its expiration period.

        NOTE: Invoke this method prior to a redirect in order to allow saving the FlashMap in the HTTP session or in a response cookie before the response is committed.

        Parameters:
        flashMap - the FlashMap to save
        request - the current request
        response - the current response