Class TestableCookieSinkSource
- java.lang.Object
-
- org.apache.tapestry5.internal.test.TestableCookieSinkSource
-
- All Implemented Interfaces:
CookieSink
,CookieSource
public class TestableCookieSinkSource extends java.lang.Object implements CookieSource, CookieSink
-
-
Constructor Summary
Constructors Constructor Description TestableCookieSinkSource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addCookie(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:CookieSource
Returns the cookies from the browser.- Specified by:
getCookies
in interfaceCookieSource
-
addCookie
public void addCookie(Cookie cookie)
Description copied from interface:CookieSink
Adds a cookie to the sink- Specified by:
addCookie
in interfaceCookieSink
-
-