public static Long getProfileLastModifiedCookie ( HttpServletRequest request ) { String profileLastModified = HttpUtils . getCookieValue ( PROFILE_LAST_MODIFIED_COOKIE_NAME , request ) ; if ( StringUtils . isNotEmpty ( profileLastModified ) ) { try { return new Long ( profileLastModified ) ; } catch ( NumberFormatException e ) { logger . error ( "Invalid profile last modified cookie format: {}" , profileLastModified ) ; } } return null ; }
Returns the last modified timestamp cookie from the request .