nextapp.echo2.webcontainer.command
Class BrowserSetCookieCommand

java.lang.Object
  extended by nextapp.echo2.webcontainer.command.BrowserSetCookieCommand
All Implemented Interfaces:
Command

public class BrowserSetCookieCommand
extends java.lang.Object
implements Command

A Web Application Container-specific Command to set an HTTP Cookie on the client browser.


Constructor Summary
BrowserSetCookieCommand(Cookie cookie)
          Creates a BrowserSetCookieCommand.
 
Method Summary
 Cookie getCookie()
          Retrieves the Cookie to be set.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BrowserSetCookieCommand

public BrowserSetCookieCommand(Cookie cookie)
Creates a BrowserSetCookieCommand.

Parameters:
cookie - the Cookie to set
Method Detail

getCookie

public Cookie getCookie()
Retrieves the Cookie to be set.

Returns:
the Cookie