public class DistributeReleaseBundle extends JFrogService<DistributeReleaseBundleResponse>
log, responseType, result, statusCode| Constructor and Description |
|---|
DistributeReleaseBundle(java.lang.String name,
java.lang.String version,
boolean sync,
DistributeReleaseBundleRequest request,
org.jfrog.build.api.util.Log log) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.http.client.methods.HttpRequestBase |
createRequest() |
protected void |
ensureRequirements(org.jfrog.build.client.JFrogHttpClient client) |
DistributeReleaseBundleResponse |
execute(org.jfrog.build.client.JFrogHttpClient client)
Default execution of a service:
1.
|
protected void |
setResponse(java.io.InputStream stream)
Override this in order to parse the service response body (only for services that expect to have body in the response).
|
getHeaders, getMapper, getResult, getStatusCode, handleEmptyEntity, handleUnsuccessfulResponse, setHeaders, setResult, setStatusCode, throwExceptionpublic DistributeReleaseBundle(java.lang.String name,
java.lang.String version,
boolean sync,
DistributeReleaseBundleRequest request,
org.jfrog.build.api.util.Log log)
protected void ensureRequirements(org.jfrog.build.client.JFrogHttpClient client)
throws java.io.IOException
ensureRequirements in class JFrogService<DistributeReleaseBundleResponse>java.io.IOExceptionpublic org.apache.http.client.methods.HttpRequestBase createRequest()
throws java.io.IOException
createRequest in class JFrogService<DistributeReleaseBundleResponse>java.io.IOExceptionpublic DistributeReleaseBundleResponse execute(org.jfrog.build.client.JFrogHttpClient client) throws java.io.IOException
JFrogServiceexecute in class JFrogService<DistributeReleaseBundleResponse>client - - http client for sending the request.java.io.IOExceptionprotected void setResponse(java.io.InputStream stream)
throws java.io.IOException
JFrogServicesetResponse in class JFrogService<DistributeReleaseBundleResponse>stream - - Inout stream of the response body.java.io.IOException