com.sonalb.net.http.cookie
Interface CookieMatcher


public interface CookieMatcher

Allows custom matching of Cookies. Applications can use their matching logic to pick out Cookies.

Author:
Sonal Bansal
See Also:
CookieJar.removeCookies(CookieMatcher), CookieJar.getCookies(CookieMatcher)

Method Summary
 boolean doMatch(Cookie cookie)
          Checks whether the given Cookie satisfies the custom criteria.
 

Method Detail

doMatch

boolean doMatch(Cookie cookie)
Checks whether the given Cookie satisfies the custom criteria.

Parameters:
the - Cookie to be checked
Returns:
satisfies or not ?