code: protected String cookieValue(String name){
          Cookie cookie = cookie(name);
          return cookie != null ? cookie.getValue() : null;
      }
docs: Convenience method, returns cookie value.
  
  @param name name of cookie.
  @return cookie value.