Google is committed to advancing racial equity for Black communities. See how.

CookieUtil

public final class CookieUtil extends Object

Helper class to build the cookie String from the given fields.

Public Method Summary

static String
getCookieUrl(String domain, Boolean isSecure)
static String
getCookieValue(String name, String value, String domain, String path, Boolean isHttpOnly, Boolean isSecure, Long maxAge)

Inherited Method Summary

Public Methods

public static String getCookieUrl (String domain, Boolean isSecure)

public static String getCookieValue (String name, String value, String domain, String path, Boolean isHttpOnly, Boolean isSecure, Long maxAge)