com.hubspot.chrome.devtools.client.core.network.InterceptionStage Maven / Gradle / Ivy
package com.hubspot.chrome.devtools.client.core.network;
import com.fasterxml.jackson.annotation.JsonValue;
/**
* Stages of the interception to begin intercepting. Request will intercept before the request is
* sent. Response will intercept after the response is received.
*/
public enum InterceptionStage {
REQUEST("Request"),
HEADERS_RECEIVED("HeadersReceived");
private final String value;
InterceptionStage(String value) {
this.value= value;
}
@JsonValue
public String getValue() {
return value;
}
@Override
public String toString() {
return value;
}
}