Class TestableCookieSinkSource
- java.lang.Object
 - 
- org.apache.tapestry5.internal.test.TestableCookieSinkSource
 
 
- 
- All Implemented Interfaces:
 CookieSink,CookieSource
public class TestableCookieSinkSource extends Object implements CookieSource, CookieSink
 
- 
- 
Constructor Summary
Constructors Constructor Description TestableCookieSinkSource() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddCookie(Cookie cookie)Adds a cookie to the sinkCookie[]getCookies()Returns the cookies from the browser. 
 - 
 
- 
- 
Constructor Detail
- 
TestableCookieSinkSource
public TestableCookieSinkSource()
 
 - 
 
- 
Method Detail
- 
getCookies
public Cookie[] getCookies()
Description copied from interface:CookieSourceReturns the cookies from the browser.- Specified by:
 getCookiesin interfaceCookieSource
 
- 
addCookie
public void addCookie(Cookie cookie)
Description copied from interface:CookieSinkAdds a cookie to the sink- Specified by:
 addCookiein interfaceCookieSink
 
 - 
 
 -