It worked. Thanks for the help. This example helped me :
https://hc.apache.org/httpcomponents-client-4.5.x/httpclient-win/examples/org/apache/http/examples/client/win/ClientWinAuth.java
On Wed, Jul 25, 2018 at 8:07 PM Sreyan Chakravarty
wrote:
> What is the difference between them? W
authentication code?
Could you please provide more info.
On Wed, Jul 25, 2018 at 1:47 PM Oleg Kalnichevski wrote:
> On Tue, 2018-07-24 at 20:50 +0530, Sreyan Chakravarty wrote:
> > I am on a Windows machine at work and am using HttpClient to make a
> > request
> > via a web
I am on a Windows machine at work and am using HttpClient to make a request
via a web proxy. But the problem is that I keep 407 Authentication required
message.
But if I do the same thing via the RestTemplate of Spring, which uses the
vanilla java.net.URLConnection class, with supplying just the
ent
> connections <https://en.wikipedia.org/wiki/HTTP_persistent_connection>.
> In order to understand what happens you can enable debug logging for
> HttpClient.
>
> Regards,
> Alex
>
> On Sun, Jun 17, 2018 at 12:33 AM Sreyan Chakravarty <
> sreyan.mail...@gmail
Hi,
I am using Apache HTTP Client with Springs Rest Template service to have
connection pooling implemented for my REST Client. The code for connection
pooling is from the documentation and is similar to this-:
PoolingHttpClientConnectionManager cm = new
PoolingHttpClientConnectionManager();