org.opensearch.migrations.replay.datahandlers.http.HttpJsonResponseWithFaultingPayload Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of trafficReplayer Show documentation
Show all versions of trafficReplayer Show documentation
Everything opensearch migrations
The newest version!
package org.opensearch.migrations.replay.datahandlers.http;
import org.opensearch.migrations.transform.JsonKeysForHttpMessage;
public class HttpJsonResponseWithFaultingPayload extends HttpJsonMessageWithFaultingPayload {
public String code() {
return (String) this.get(JsonKeysForHttpMessage.STATUS_CODE_KEY);
}
public void setCode(String value) {
this.put(JsonKeysForHttpMessage.STATUS_CODE_KEY, value);
}
public String reason() {
return (String) this.get(JsonKeysForHttpMessage.STATUS_REASON_KEY);
}
public void setReason(String reason) {
this.put(JsonKeysForHttpMessage.STATUS_REASON_KEY, reason);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy