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

com.hubspot.chrome.devtools.client.core.page.FrameScheduledNavigationEvent Maven / Gradle / Ivy

package com.hubspot.chrome.devtools.client.core.page;

import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.hubspot.chrome.devtools.client.core.Event;

/**
 * Fired when frame schedules a potential navigation.
 */
public final class FrameScheduledNavigationEvent extends Event {
  private FrameId frameId;

  private Number delay;

  private String reason;

  private String url;

  @JsonCreator
  public FrameScheduledNavigationEvent(@JsonProperty("frameId") FrameId frameId,
      @JsonProperty("delay") Number delay, @JsonProperty("reason") String reason,
      @JsonProperty("url") String url) {
    this.frameId = frameId;
    this.delay = delay;
    this.reason = reason;
    this.url = url;
  }

  public FrameId getFrameId() {
    return frameId;
  }

  public Number getDelay() {
    return delay;
  }

  public String getReason() {
    return reason;
  }

  public String getUrl() {
    return url;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy