Class CacheStorage


  • @Beta
    public class CacheStorage
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      CacheStorage()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static org.openqa.selenium.devtools.Command<java.lang.Void> deleteCache​(CacheId cacheId)
      Deletes a cache.
      static org.openqa.selenium.devtools.Command<java.lang.Void> deleteEntry​(CacheId cacheId, java.lang.String request)
      Deletes a cache entry.
      static org.openqa.selenium.devtools.Command<CachedResponse> requestCachedResponse​(CacheId cacheId, java.lang.String requestURL, java.util.List<Header> requestHeaders)
      Fetches cache entry.
      static org.openqa.selenium.devtools.Command<java.util.List<Cache>> requestCacheNames​(java.lang.String securityOrigin)
      Requests cache names.
      static org.openqa.selenium.devtools.Command<CacheStorage.RequestEntriesResponse> requestEntries​(CacheId cacheId, java.util.Optional<java.lang.Integer> skipCount, java.util.Optional<java.lang.Integer> pageSize, java.util.Optional<java.lang.String> pathFilter)
      Requests data from cache.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CacheStorage

        public CacheStorage()
    • Method Detail

      • deleteCache

        public static org.openqa.selenium.devtools.Command<java.lang.Void> deleteCache​(CacheId cacheId)
        Deletes a cache.
      • deleteEntry

        public static org.openqa.selenium.devtools.Command<java.lang.Void> deleteEntry​(CacheId cacheId,
                                                                                       java.lang.String request)
        Deletes a cache entry.
      • requestCacheNames

        public static org.openqa.selenium.devtools.Command<java.util.List<Cache>> requestCacheNames​(java.lang.String securityOrigin)
        Requests cache names.
      • requestCachedResponse

        public static org.openqa.selenium.devtools.Command<CachedResponse> requestCachedResponse​(CacheId cacheId,
                                                                                                 java.lang.String requestURL,
                                                                                                 java.util.List<Header> requestHeaders)
        Fetches cache entry.
      • requestEntries

        public static org.openqa.selenium.devtools.Command<CacheStorage.RequestEntriesResponse> requestEntries​(CacheId cacheId,
                                                                                                               java.util.Optional<java.lang.Integer> skipCount,
                                                                                                               java.util.Optional<java.lang.Integer> pageSize,
                                                                                                               java.util.Optional<java.lang.String> pathFilter)
        Requests data from cache.