All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.opensearch.migrations.replay.datahandlers.http.HttpJsonResponseWithFaultingPayload Maven / Gradle / Ivy

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