Class GenericRequestService
- java.lang.Object
-
- io.jenkins.plugins.propelo.commons.service.GenericRequestService
-
public class GenericRequestService extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static okhttp3.MediaType
APPLICATION_JSON_UTF8
static String
GENERIC_REQUESTS_MULTIPART_API
-
Constructor Summary
Constructors Constructor Description GenericRequestService(String apiUrl, com.fasterxml.jackson.databind.ObjectMapper mapper)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GenericResponse
performGenericRequest(String apiKey, String genericRequestType, String payload, boolean trustAllCertificates, File zipFile, ProxyConfigService.ProxyConfig proxyConfig)
-
-
-
Field Detail
-
GENERIC_REQUESTS_MULTIPART_API
public static final String GENERIC_REQUESTS_MULTIPART_API
- See Also:
- Constant Field Values
-
APPLICATION_JSON_UTF8
public static final okhttp3.MediaType APPLICATION_JSON_UTF8
-
-
Constructor Detail
-
GenericRequestService
public GenericRequestService(String apiUrl, com.fasterxml.jackson.databind.ObjectMapper mapper)
-
-
Method Detail
-
performGenericRequest
public GenericResponse performGenericRequest(String apiKey, String genericRequestType, String payload, boolean trustAllCertificates, File zipFile, ProxyConfigService.ProxyConfig proxyConfig) throws IOException
- Throws:
IOException
-
-