com.genesys.workspace.CookieStoreImpl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of workspace Show documentation
Show all versions of workspace Show documentation
A Java library to interface to Genesys Workspace public API
package com.genesys.workspace;
import java.net.CookieManager;
import java.net.CookieStore;
import java.net.HttpCookie;
import java.net.URI;
import java.util.List;
public class CookieStoreImpl implements CookieStore {
private final CookieStore manager = new CookieManager().getCookieStore();
@Override
public void add(URI uri, HttpCookie cookie) {
manager.add(uri, cookie);
}
@Override
public List get(URI uri) {
return manager.get(uri);
}
@Override
public List getCookies() {
return manager.getCookies();
}
@Override
public List getURIs() {
return manager.getURIs();
}
@Override
public boolean remove(URI uri, HttpCookie cookie) {
return manager.remove(uri, cookie);
}
@Override
public boolean removeAll() {
return manager.removeAll();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy