org.openqa.selenium.devtools.v90.network.model.InterceptionId Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of selenium-devtools-v90 Show documentation
Show all versions of selenium-devtools-v90 Show documentation
Selenium automates browsers. That's it! What you do with that power is entirely up to you.
package org.openqa.selenium.devtools.v90.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();
}
}