Interface RestController

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      okhttp3.Cache createCache()
      Method for creating a cached file used to stored temporary data for requests
      void evictAllCache()
      Method for removing/evicting all the Cache, ideally called during Logout Make sure that a call to initialize() was properly made first before calling this method.
      void removeResponsesFromCache​(java.lang.String path)
      Removes cached responses which contains the specified path.
    • Method Detail

      • createCache

        okhttp3.Cache createCache()
        Method for creating a cached file used to stored temporary data for requests
        Returns:
        new Cache for caching requests
      • evictAllCache

        void evictAllCache()
        Method for removing/evicting all the Cache, ideally called during Logout Make sure that a call to initialize() was properly made first before calling this method.
      • removeResponsesFromCache

        void removeResponsesFromCache​(java.lang.String path)
        Removes cached responses which contains the specified path. Make sure that a call to initialize() was properly made first before calling this method.
        Parameters:
        path - the path that will be used to search the cached data.