List of usage examples for org.springframework.web.context.request RequestAttributes removeAttribute
void removeAttribute(String name, int scope);
From source file:ru.smsl.webkrona.util.FlashMap.java
/** * Removes the flash map from the window or session scope. *//* ww w. j a v a 2 s.co m*/ public static void removeFlashMap() { RequestAttributes requestAttributes = RequestContextHolder.currentRequestAttributes(); requestAttributes.removeAttribute(FLASH_MAP_ATTRIBUTE, getFlashMapScope()); }