com.google.gwt.user.client
Class Cookies

java.lang.Object
  extended bycom.google.gwt.user.client.Cookies

public class Cookies
extends Object

Provides access to browser cookies stored on the client. Because of browser restrictions, you will only be able to access cookies associated with the current page's domain.


Field Summary
 
Fields inherited from class java.lang.Object
typeId, typeName
 
Constructor Summary
Cookies()
           
 
Method Summary
 String getCookie(String key)
          Gets the cookie associated with the given key.
 
Methods inherited from class java.lang.Object
equals, finalize, hashCode, toString
 

Constructor Detail

Cookies

public Cookies()
Method Detail

getCookie

public String getCookie(String key)
Gets the cookie associated with the given key.

Parameters:
key - the key of the cookie to be retrieved
Returns:
the cookie's value.


This javadoc distribution was not produced by Google. The official documentation is here.