public static String getCookieValue ( String name , HttpServletRequest request ) { Cookie cookie = getCookie ( name , request ) ; if ( cookie != null ) { return cookie . getValue ( ) ; } else { return null ; } }
Returns the cookie value with the given name for the given request