public class Download extends DownloadBase<org.jfrog.build.client.DownloadResponse>
log, responseType, result, statusCode| Constructor and Description |
|---|
Download(java.lang.String downloadFrom,
java.util.Map<java.lang.String,java.lang.String> headers,
org.jfrog.build.api.util.Log log) |
| Modifier and Type | Method and Description |
|---|---|
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).
|
createRequest, handleUnsuccessfulResponseensureRequirements, execute, getHeaders, getMapper, getResult, getStatusCode, handleEmptyEntity, setHeaders, setResult, setStatusCode, throwExceptionpublic Download(java.lang.String downloadFrom,
java.util.Map<java.lang.String,java.lang.String> headers,
org.jfrog.build.api.util.Log log)
protected void setResponse(java.io.InputStream stream)
throws java.io.IOException
JFrogServicesetResponse in class JFrogService<org.jfrog.build.client.DownloadResponse>stream - - Inout stream of the response body.java.io.IOException