FileDocCategorySizeDatePackage
RFC2965DiscardAttributeHandler.javaAPI DocAndroid 1.5 API2537Wed May 06 22:41:10 BST 2009org.apache.http.impl.cookie

RFC2965DiscardAttributeHandler

public class RFC2965DiscardAttributeHandler extends Object implements CookieAttributeHandler
"Discard" cookie attribute handler for RFC 2965 cookie spec.

Fields Summary
Constructors Summary
public RFC2965DiscardAttributeHandler()

          super();
      
Methods Summary
public booleanmatch(org.apache.http.cookie.Cookie cookie, org.apache.http.cookie.CookieOrigin origin)

          return true;
      
public voidparse(org.apache.http.cookie.SetCookie cookie, java.lang.String commenturl)

          if (cookie instanceof SetCookie2) {
              SetCookie2 cookie2 = (SetCookie2) cookie;
              cookie2.setDiscard(true);
          }
      
public voidvalidate(org.apache.http.cookie.Cookie cookie, org.apache.http.cookie.CookieOrigin origin)