com.versionone.apiclient.interfaces.ICookiesManager Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of VersionOne.SDK.Java.APIClient Show documentation
Show all versions of VersionOne.SDK.Java.APIClient Show documentation
A library for custom Java development against the VersionOne Development Platform's REST API.
package com.versionone.apiclient.interfaces;
import java.util.Date;
public interface ICookiesManager {
/**
* Adds cookie to storage.
*
* @param name - cookie name.
* @param value - cookie value.
* @param expires - date when cookie will expire.
*/
void addCookie(String name, String value, Date expires);
/**
* Removes cookie from the storage.
*
* @param name - cookie name.
*/
void deleteCookie(String name);
/**
* Gets cookie from the storage.
*
* @param name - cookie name.
* @return cookie value
*/
String getCookie(String name);
/**
* Deletes all cookies from the storage
*/
void deleteAllCookies();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy