com.versionone.apiclient.interfaces

## Interface ICookiesManager

- All Known Implementing Classes:
    CookiesManager

      public interface ICookiesManager

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `addCookie(String name, String value, Date expires)` Adds cookie to storage.
    `void` | `deleteAllCookies()` Deletes all cookies from the storage
    `void` | `deleteCookie(String name)` Removes cookie from the storage.
    `String` | `getCookie(String name)` Gets cookie from the storage.

- - ### Method Detail

    - #### addCookie

          void addCookie(String name,
                         String value,
                         Date expires)

      Adds cookie to storage.
      Parameters:
        `name` - - cookie name.
        `value` - - cookie value.
        `expires` - - date when cookie will expire.

    - #### deleteCookie

          void deleteCookie(String name)

      Removes cookie from the storage.
      Parameters:
        `name` - - cookie name.

    - #### getCookie

          String getCookie(String name)

      Gets cookie from the storage.
      Parameters:
        `name` - - cookie name.
      Returns:
        cookie value

    - #### deleteAllCookies

          void deleteAllCookies()

      Deletes all cookies from the storage

Copyright © 2021 VersionOne, Inc.. All rights reserved.