All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.versionone.apiclient.interfaces.ICookiesManager Maven / Gradle / Ivy

Go to download

A library for custom Java development against the VersionOne Development Platform's REST API.

There is a newer version: 16.1.3
Show newest version
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