Package jp.vmi.selenium.selenese.log
Class CookieFilter
- java.lang.Object
-
- jp.vmi.selenium.selenese.log.CookieFilter
-
public class CookieFilter extends Object
Cookie filter.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCookieFilter.FilterTypeType of cookie filter.
-
Field Summary
Fields Modifier and Type Field Description static CookieFilterALL_PASSAll cookies pass through.
-
Constructor Summary
Constructors Constructor Description CookieFilter(CookieFilter.FilterType filterType, String pattern)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisPass(String name)Test name passes through this filter.
-
-
-
Field Detail
-
ALL_PASS
public static final CookieFilter ALL_PASS
All cookies pass through.
-
-
Constructor Detail
-
CookieFilter
public CookieFilter(CookieFilter.FilterType filterType, String pattern)
Constructor.- Parameters:
filterType- type of cookie filter.pattern- regex pattern.
-
-
Method Detail
-
isPass
public boolean isPass(String name)
Test name passes through this filter.- Parameters:
name- cookie name.- Returns:
- true if the name passes through this filter.
-
-