com.hubspot.chrome.devtools.client.core.network.WebSocketHandshakeResponseReceivedEvent Maven / Gradle / Ivy
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;
}
}