com.starkinfra.utils.ClientService Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sdk Show documentation
Show all versions of sdk Show documentation
Welcome to the Stark Infra Java SDK! This tool is made for Java developers who want to easily integrate with our API. This SDK version is compatible with the Stark Infra API v2.
package com.starkinfra.utils;
import retrofit2.Call;
import retrofit2.http.*;
import okhttp3.RequestBody;
import okhttp3.ResponseBody;
import java.util.Map;
interface ClientService {
@GET
Call get(@retrofit2.http.Url String path, @HeaderMap Map headers);
@POST
Call post(@retrofit2.http.Url String path, @Body RequestBody body, @HeaderMap Map headers);
@PUT
Call put(@retrofit2.http.Url String path, @Body RequestBody body, @HeaderMap Map headers);
@PATCH
Call patch(@retrofit2.http.Url String path, @Body RequestBody body, @HeaderMap Map headers);
@DELETE
Call delete(@retrofit2.http.Url String path, @HeaderMap Map headers);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy