org.directwebremoting.ui.browser
Class Document

java.lang.Object
  extended by org.directwebremoting.ui.browser.Document

public class Document
extends java.lang.Object

A copy of some of the functions from the Document DOM object on the server

Author:
Joe Walker [joe at getahead dot ltd dot uk]

Constructor Summary
Document()
           
 
Method Summary
static void setCookie(javax.servlet.http.Cookie cookie)
          Add a cookie to a remote browser/browsers
static void setCookie(java.lang.String name, java.lang.String value)
          Add a cookie to a remote browser/browsers
static void setTitle(java.lang.String title)
          This would be good, but it doesn't work on some browsers
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Document

public Document()
Method Detail

setCookie

public static void setCookie(java.lang.String name,
                             java.lang.String value)
Add a cookie to a remote browser/browsers


setCookie

public static void setCookie(javax.servlet.http.Cookie cookie)
Add a cookie to a remote browser/browsers


setTitle

public static void setTitle(java.lang.String title)
This would be good, but it doesn't work on some browsers

Parameters:
title - The page to navigate to

Copyright 2008