com.heroku.api.request.Request Maven / Gradle / Ivy
package com.heroku.api.request;
import com.heroku.api.http.Http;
import java.util.Map;
public interface Request {
Http.Method getHttpMethod();
String getEndpoint();
boolean hasBody();
String getBody();
Http.Accept getResponseType();
Map getHeaders();
T getResponse(byte[] bytes, int status);
}