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

org.openqa.selenium.devtools.v90.cachestorage.model.CacheId Maven / Gradle / Ivy

Go to download

Selenium automates browsers. That's it! What you do with that power is entirely up to you.

There is a newer version: 4.0.0-beta-4
Show newest version
package org.openqa.selenium.devtools.v90.cachestorage.model;

import org.openqa.selenium.Beta;
import org.openqa.selenium.json.JsonInput;

/**
 * Unique identifier of the Cache object.
 */
public class CacheId {

    private final java.lang.String cacheId;

    public CacheId(java.lang.String cacheId) {
        this.cacheId = java.util.Objects.requireNonNull(cacheId, "Missing value for CacheId");
    }

    private static CacheId fromJson(JsonInput input) {
        return new CacheId(input.nextString());
    }

    public String toJson() {
        return cacheId.toString();
    }

    public String toString() {
        return cacheId.toString();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy