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

BasicSecureHandler

public class BasicSecureHandler extends AbstractCookieAttributeHandler

Fields Summary
Constructors Summary
public BasicSecureHandler()

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

        if (cookie == null) {
            throw new IllegalArgumentException("Cookie may not be null");
        }
        if (origin == null) {
            throw new IllegalArgumentException("Cookie origin may not be null");
        }
        return !cookie.isSecure() || origin.isSecure();
    
public voidparse(org.apache.http.cookie.SetCookie cookie, java.lang.String value)

        if (cookie == null) {
            throw new IllegalArgumentException("Cookie may not be null");
        }
        cookie.setSecure(true);