public class AppCookieImpl extends java.lang.Object implements AppCookie, com.google.gwt.user.client.rpc.IsSerializable
Constructor and Description |
---|
AppCookieImpl(java.util.Map<java.lang.String,java.lang.String> appCookieMap) |
Modifier and Type | Method and Description |
---|---|
void |
clearEditCookies() |
java.lang.String |
getCookie(java.lang.String name)
Cookies are Tasklet/Weblet properties that can used by a Tasklet as it runs.
|
void |
setCookie(java.lang.String name,
java.lang.String value)
Cookies set here will not be made persistent on the server until the
WebletContext.saveAppCookie() has been made. |
public AppCookieImpl(java.util.Map<java.lang.String,java.lang.String> appCookieMap)
public java.lang.String getCookie(java.lang.String name)
Cookies are Tasklet/Weblet properties that can used by a Tasklet as it runs. This method returns only APP_SCOPE cookie properties. APP_SCOPE cookies are name/value properties available at the job and the application level. They are shared between all job runs and by the Weblet/RuntimeViewer GUI interfaces associated with a Tasklet.
For example, as a Tasklet runs in a job, cookies can be set and read and shared between other runnning jobs/Tasklets. Also, cookies can be edited manually using the Weblet GUI so that they can later be read by a Tasklet as it runs. >
public void setCookie(java.lang.String name, java.lang.String value)
AppCookie
WebletContext.saveAppCookie()
has been made.public void clearEditCookies()
Copyright © Grand Logic, Inc. All Rights Reserved.