com.sendgrid.Request Maven / Gradle / Ivy
package com.sendgrid;
import java.util.Map;
/**
* Class Response provides a standard interface to an API's HTTP request.
*/
public class Request {
public Method method;
public String baseUri;
public String endpoint;
public String body;
public Map headers;
public Map queryParams;
public Request() {
this.reset();
}
/**
* Place the object into an empty state.
*/
public void reset() {
this.method = null;
this.baseUri = "";
this.endpoint = "";
this.body = "";
this.headers = null;
this.queryParams = null;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy