public class RequestUploader extends Object
RequestBody
related to a buildId.Modifier and Type | Method and Description |
---|---|
String |
getBuildId() |
com.facebook.buck.support.build.report.UploadResponse |
uploadRequest(okhttp3.RequestBody requestBody) |
com.facebook.buck.support.build.report.UploadResponse |
uploadRequest(okhttp3.RequestBody requestBody,
com.google.common.collect.ImmutableMap<String,String> queryParams)
Uploads the request to the build report endpoint, adding extra
queryParams to the url. |
public String getBuildId()
public com.facebook.buck.support.build.report.UploadResponse uploadRequest(okhttp3.RequestBody requestBody) throws IOException
IOException
public com.facebook.buck.support.build.report.UploadResponse uploadRequest(okhttp3.RequestBody requestBody, com.google.common.collect.ImmutableMap<String,String> queryParams) throws IOException
queryParams
to the url.IOException
- in case of a http error