NextApp Echo2
v2.1.1

nextapp.echo2.webcontainer.command
Class BrowserSetCookieCommand

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

public class BrowserSetCookieCommand
extends java.lang.Object
implements nextapp.echo2.app.Command

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


Constructor Summary
BrowserSetCookieCommand(javax.servlet.http.Cookie cookie)
          Creates a BrowserSetCookieCommand.
 
Method Summary
 javax.servlet.http.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(javax.servlet.http.Cookie cookie)
Creates a BrowserSetCookieCommand.

Parameters:
cookie - the Cookie to set
Method Detail

getCookie

public javax.servlet.http.Cookie getCookie()
Retrieves the Cookie to be set.

Returns:
the Cookie

NextApp Echo2
v2.1.1