> -----Original Message-----
> From: sebb [mailto:seb...@gmail.com]
> Sent: Thursday, January 28, 2010 9:55 AM
> To: HttpClient User Discussion
> Subject: Re: Any up-to-date comparison of HttpClient vs.
> HttpUrlConnection?
> 
> On 28/01/2010, Sam Crawford <samcrawf...@gmail.com> wrote:
> > > What functions does HttpUrlConnection still require using system
> >  > properties for, which HttpClient provides on an instance basis?
I
> know
> >  > that HttpUrlConnection used to require use of system properties
> for the
> >  > read and connection timeouts, although that difference was
> eliminated in
> >  > JDK 1.5.
> >
> >
> > I could be mistaken, but I'm pretty sure that some aspects of HTTP
> >  proxy configuration (e.g. username, password) still need to be
> >  specified through system properties for HttpUrlConnection to
> function.
> 
> http://java.sun.com/javase/7/docs/api/java/net/doc-files/net-
> properties.html
> 
> has a long list of properties.

Can someone pick out features supported by those properties that are
supported on a client basis with HttpClient (as opposed to setting
system properties)?  For instance, if I needed one connection to use
NTLM auth, but only that connection, would this mean that all
connections using HttpUrlConnection would be forced to use NTLM auth?
Would HttpClient allow doing that on a client basis instead?


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

Reply via email to