
com.github.becausetesting.httpclient.bean.CookiesStore Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of commons Show documentation
Show all versions of commons Show documentation
A common libraries used for testing framework.
package com.github.becausetesting.httpclient.bean;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Date;
import java.util.List;
import org.apache.http.client.CookieStore;
import org.apache.http.cookie.Cookie;
public class CookiesStore implements CookieStore {
private List cookies = new ArrayList();
@Override
public void addCookie(Cookie cookie) {
// TODO Auto-generated method stub
cookies.add(cookie);
}
@Override
public void clear() {
// TODO Auto-generated method stub
cookies.clear();
}
@Override
public boolean clearExpired(Date arg0) {
// TODO Auto-generated method stub
return true;
}
@Override
public List getCookies() {
// TODO Auto-generated method stub
return Collections.unmodifiableList(cookies);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy