com.hubspot.chrome.devtools.client.core.network.Headers Maven / Gradle / Ivy
package com.hubspot.chrome.devtools.client.core.network;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
/**
* Request / response headers as keys / values of JSON object.
*/
public class Headers {
private Object value;
@JsonCreator
public Headers(Object value) {
this.value = value;
}
@JsonValue
public Object getValue() {
return value;
}
@Override
public String toString() {
return getValue().toString();
}
}