xyz.block.ftl.runtime.builtin.HttpResponse Maven / Gradle / Ivy
package xyz.block.ftl.runtime.builtin;
import java.util.List;
import java.util.Map;
import com.fasterxml.jackson.annotation.JsonRawValue;
/**
* TODO: should this be generated
*/
public class HttpResponse {
private long status;
private Map> headers;
@JsonRawValue
private String body;
private Throwable error;
public long getStatus() {
return status;
}
public void setStatus(long status) {
this.status = status;
}
public Map> getHeaders() {
return headers;
}
public void setHeaders(Map> headers) {
this.headers = headers;
}
public String getBody() {
return body;
}
public void setBody(String body) {
this.body = body;
}
public Throwable getError() {
return error;
}
public void setError(Throwable error) {
this.error = error;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy