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

com.teamscale.jacoco.agent.upload.azure.IAzureUploadApi Maven / Gradle / Ivy

Go to download

JVM profiler that simplifies various aspects around recording and uploading test coverage

There is a newer version: 34.0.2
Show newest version
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
	);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy