class SimpleCookieStore extends AbstractCookieStore implements CookieStore {
    
    protected BasicCookieStore cookies;
    
    @Override
    protected void prepare() {
        cookies = new BasicCookieStore();
    }

    @Override
    public void startCheckpoint(Checkpoint checkpointInProgress) {
        throw new RuntimeException("not implemented");
    }
    @Override
    public void doCheckpoint(Checkpoint checkpointInProgress)
            throws IOException {
        throw new RuntimeException("not implemented");
    }
    @Override
    public void finishCheckpoint(Checkpoint checkpointInProgress) {
        throw new RuntimeException("not implemented");
    }
    @Override
    @Autowired(required=false)
    public void setRecoveryCheckpoint(Checkpoint recoveryCheckpoint) {
        throw new RuntimeException("not implemented");
    }

    @Override
    public List<Cookie> getCookies() {
        return cookies.getCookies();
    }

    @Override
    public boolean clearExpired(Date date) {
        return cookies.clearExpired(date);
    }

    @Override
    public CookieStore cookieStoreFor(String host) {
        return this;
    }

    @Override
    public void addCookieImpl(Cookie cookie) {
        cookies.addCookie(cookie);
    }

    @Override
    public boolean expireCookie(Cookie cookie, Date date) {<FILL_FUNCTION_BODY>}

    @Override
    public void clear() {
        cookies.clear();
    }
}

        if( cookie.isExpired(date)) {
            cookies.getCookies().remove(cookie);
            return true;
        } else {
            return false;
        }
    
<methods>public non-sealed void <init>() ,public void addCookie(Cookie) ,public abstract void clear() ,public CookieStore cookieStoreFor(org.archive.modules.CrawlURI) throws URIException,public abstract boolean expireCookie(Cookie, java.util.Date) ,public org.archive.spring.ConfigFile getCookiesLoadFile() ,public org.archive.spring.ConfigPath getCookiesSaveFile() ,public boolean isCookieCountMaxedForDomain(java.lang.String) ,public boolean isRunning() ,public void saveCookies() ,public void saveCookies(java.lang.String) ,public void setCookiesLoadFile(org.archive.spring.ConfigFile) ,public void setCookiesSaveFile(org.archive.spring.ConfigPath) ,public void start() ,public void stop() <variables>public static final int MAX_COOKIES_FOR_DOMAIN,protected static final Comparator<Cookie> cookieComparator,protected org.archive.spring.ConfigFile cookiesLoadFile,protected org.archive.spring.ConfigPath cookiesSaveFile,protected boolean isRunning,protected final java.util.logging.Logger logger