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

xyz.block.ftl.runtime.builtin.HttpRequest Maven / Gradle / Ivy

There is a newer version: 0.368.1
Show newest version
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 - 2024 Weber Informatics LLC | Privacy Policy