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

org.openqa.selenium.devtools.v88.network.model.InterceptionId Maven / Gradle / Ivy

package org.openqa.selenium.devtools.v88.network.model;

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

/**
 * Unique intercepted request identifier.
 */
public class InterceptionId {

    private final java.lang.String interceptionId;

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

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

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

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy