xyz.block.ftl.runtime.builtin.HttpRequest Maven / Gradle / Ivy
package xyz.block.ftl.runtime.builtin;
import java.util.List;
import java.util.Map;
import com.fasterxml.jackson.databind.JsonNode;
/**
* TODO: should this be generated?
*/
public class HttpRequest {
private String method;
private String path;
private Map pathParameters;
private Map> query;
private Map> headers;
private JsonNode body;
public String getMethod() {
return method;
}
public void setMethod(String method) {
this.method = method;
}
public String getPath() {
return path;
}
public void setPath(String path) {
this.path = path;
}
public Map getPathParameters() {
return pathParameters;
}
public void setPathParameters(Map pathParameters) {
this.pathParameters = pathParameters;
}
public Map> getQuery() {
return query;
}
public void setQuery(Map> query) {
this.query = query;
}
public Map> getHeaders() {
return headers;
}
public void setHeaders(Map> headers) {
this.headers = headers;
}
public JsonNode getBody() {
return body;
}
public void setBody(JsonNode body) {
this.body = body;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy