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

com.hubspot.chrome.devtools.client.core.network.WebSocketHandshakeResponseReceivedEvent Maven / Gradle / Ivy

There is a newer version: 94.0.4606.61
Show newest version
package com.hubspot.chrome.devtools.client.core.network;

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

/**
 * Fired when WebSocket handshake response becomes available.
 */
public final class WebSocketHandshakeResponseReceivedEvent extends Event {
  private RequestId requestId;

  private MonotonicTime timestamp;

  private WebSocketResponse response;

  @JsonCreator
  public WebSocketHandshakeResponseReceivedEvent(@JsonProperty("requestId") RequestId requestId,
      @JsonProperty("timestamp") MonotonicTime timestamp,
      @JsonProperty("response") WebSocketResponse response) {
    this.requestId = requestId;
    this.timestamp = timestamp;
    this.response = response;
  }

  public RequestId getRequestId() {
    return requestId;
  }

  public MonotonicTime getTimestamp() {
    return timestamp;
  }

  public WebSocketResponse getResponse() {
    return response;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy