com.teamscale.jacoco.agent.upload.azure.IAzureUploadApi Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of teamscale-jacoco-agent Show documentation
Show all versions of teamscale-jacoco-agent Show documentation
JVM profiler that simplifies various aspects around recording and uploading test coverage
package com.teamscale.jacoco.agent.upload.azure;
import okhttp3.RequestBody;
import okhttp3.ResponseBody;
import retrofit2.Call;
import retrofit2.Retrofit;
import retrofit2.http.Body;
import retrofit2.http.HEAD;
import retrofit2.http.HeaderMap;
import retrofit2.http.PUT;
import retrofit2.http.Path;
import retrofit2.http.QueryMap;
import java.util.Map;
/** {@link Retrofit} API specification for the {@link AzureFileStorageUploader}. */
public interface IAzureUploadApi {
/** PUT call to the azure file storage without any data in the body */
@PUT("{path}")
public Call put(
@Path(value = "path", encoded = true) String path,
@HeaderMap Map headers,
@QueryMap Map query
);
/** PUT call to the azure file storage with data in the body */
@PUT("{path}")
public Call putData(
@Path(value = "path", encoded = true) String path,
@HeaderMap Map headers,
@QueryMap Map query,
@Body RequestBody content
);
/** HEAD call to the azure file storage */
@HEAD("{path}")
public Call head(
@Path(value = "path", encoded = true) String path,
@HeaderMap Map headers,
@QueryMap Map query
);
}