atom feed1 message in org.apache.hc.httpclient-usersHttp Get retrieve data larger than In...
FromSent OnAttachments
Olivier LamyJan 28, 2013 2:42 pm 
Subject:Http Get retrieve data larger than Integer.MAX_VALUE
From:Olivier Lamy (
Date:Jan 28, 2013 2:42:30 pm


Is there any way to retrieve a file which is larger than Integer.MAX_VALUE ? ContentLengthInputStream has a cast which can be bigger than Integer.MAX_VALUE

if (pos + len > contentLength) { len = (int) (contentLength - pos); }