com.hubspot.chrome.devtools.client.core.network.WebSocketFrameErrorEvent 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 frame error occurs.
*/
public final class WebSocketFrameErrorEvent extends Event {
private RequestId requestId;
private MonotonicTime timestamp;
private String errorMessage;
@JsonCreator
public WebSocketFrameErrorEvent(@JsonProperty("requestId") RequestId requestId,
@JsonProperty("timestamp") MonotonicTime timestamp,
@JsonProperty("errorMessage") String errorMessage) {
this.requestId = requestId;
this.timestamp = timestamp;
this.errorMessage = errorMessage;
}
public RequestId getRequestId() {
return requestId;
}
public MonotonicTime getTimestamp() {
return timestamp;
}
public String getErrorMessage() {
return errorMessage;
}
}