| net.mygwt.ui.client.state.Provider net.mygwt.ui.client.state.CookieProvider
CookieProvider | public class CookieProvider extends Provider (Code) | | The default Provider implementation which saves state via
cookies.
|
Constructor Summary | |
public | CookieProvider(String path, Date expires, String domain, boolean secure) Creates a new cookie provider
Parameters: path - The path for which the cookie is active (defaults to root '/'which makes it active for all pages in the site) Parameters: expires - the cookie expiration date (defaults to 7 days from now) Parameters: domain - The domain to save the cookie for. |
CookieProvider | public CookieProvider(String path, Date expires, String domain, boolean secure)(Code) | | Creates a new cookie provider
Parameters: path - The path for which the cookie is active (defaults to root '/'which makes it active for all pages in the site) Parameters: expires - the cookie expiration date (defaults to 7 days from now) Parameters: domain - The domain to save the cookie for. Note that you cannotspecify a different domain than your page is on, but you canspecify a sub-domain. Parameters: secure - true if the site is using SSL |
|
|