jCookie v0.8b

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

public boolean doMatch(Cookie cookie)
Checks whether the given Cookie satisfies the custom criteria.
Parameters:
the - Cookie to be checked
Returns:
satisfies or not ?

Copyright (c) 2001-2002 Sonal Bansal