use of org.jfrog.build.client.bintrayResponse.BintrayResponse in project build-info by JFrogDev.
the class ArtifactoryBuildInfoClient method parseResponse.
private BintrayResponse parseResponse(HttpResponse response) throws IOException {
InputStream content = response.getEntity().getContent();
int status = response.getStatusLine().getStatusCode();
JsonParser parser = httpClient.createJsonFactory().createJsonParser(content);
BintrayResponse responseObject = BintrayResponseFactory.createResponse(status, parser);
return responseObject;
}
Aggregations