org.apache.tapestry5.internal.test
Class TestableCookieSinkSource

java.lang.Object
  extended by org.apache.tapestry5.internal.test.TestableCookieSinkSource
All Implemented Interfaces:
CookieSink, CookieSource

public class TestableCookieSinkSource
extends Object
implements CookieSource, CookieSink


Constructor Summary
TestableCookieSinkSource()
           
 
Method Summary
 void addCookie(Cookie cookie)
          Adds a cookie to the sink
 Cookie[] getCookies()
          Returns the cookies from the browser.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestableCookieSinkSource

public TestableCookieSinkSource()
Method Detail

getCookies

public Cookie[] getCookies()
Description copied from interface: CookieSource
Returns the cookies from the browser.

Specified by:
getCookies in interface CookieSource

addCookie

public void addCookie(Cookie cookie)
Description copied from interface: CookieSink
Adds a cookie to the sink

Specified by:
addCookie in interface CookieSink


Copyright © 2003-2012 The Apache Software Foundation.