-----Original Message-----
From: Oleg Kalnichevski [mailto:ol...@apache.org] 
Sent: Monday, December 30, 2013 10:43 AM
To: HttpClient User Discussion
Subject: Re: Size of HTTPClient jar

On Mon, 2013-12-30 at 15:08 +0100, Philippe Mouawad wrote:
> Hello,
> You could use proguard:
> 
>    - http://proguard.sourceforge.net/#manual/usage.html
> 
> 
> Regards
> Philippe M.
> @philmdot
> 
> 

There a lot of deprecated code in HttpClient, especially version 4.3.
You can possibly cut the size of httpclient.jar to half by deleting the 
deprecated classes (assuming your application code does not make any use of 
deprecated APIs)

Oleg 



Thanks Oleg and Philippe! I will give these suggestions a try.



> 
> 
> On Mon, Dec 30, 2013 at 2:51 PM, Boxer, Aaron <aaron.bo...@uhn.ca> wrote:
> 
> > Hello,
> > Is there a way of cutting down the size of the jar? I am using it in 
> > an applet, which is very sensitive to download size.
> > Thanks,
> > Aaron
> >
> > This e-mail may contain confidential and/or privileged information 
> > for the sole use of the intended recipient.
> > Any review or distribution by anyone other than the person for whom 
> > it was originally intended is strictly prohibited.
> > If you have received this e-mail in error, please contact the sender 
> > and delete all copies.
> > Opinions, conclusions or other information contained in this e-mail 
> > may not be that of the organization.
> >
> >
> > --------------------------------------------------------------------
> > - To unsubscribe, e-mail: httpclient-users-unsubscr...@hc.apache.org
> > For additional commands, e-mail: httpclient-users-h...@hc.apache.org
> >
> >
> 
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscr...@hc.apache.org
For additional commands, e-mail: httpclient-users-h...@hc.apache.org


This e-mail may contain confidential and/or privileged information for the sole 
use of the intended recipient. 
Any review or distribution by anyone other than the person for whom it was 
originally intended is strictly prohibited. 
If you have received this e-mail in error, please contact the sender and delete 
all copies. 
Opinions, conclusions or other information contained in this e-mail may not be 
that of the organization.

Reply via email to