-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Minor
-
Component/s: java-client-api
-
None
public InputStream getFile(URI path) throws IOException {
HttpGet getMethod = new HttpGet(path);
HttpResponse response = client.execute(getMethod, localContext);
jenkinsVersion = ResponseUtils.getJenkinsVersion(response);
httpResponseValidator.validateResponse(response);
return new RequestReleasingInputStream(response.getEntity().getContent(), getMethod);
}
when invoke getFile method and occur exception atĀ validateResponse(),
connetions cannot be released