hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Andersén <peter.ander...@internetborder.se>
Subject Re: Httpclient not working
Date Fri, 20 Feb 2004 10:57:12 GMT
Thanks !

/Peter

----- Original Message ----- 
From: "Kalnichevski, Oleg" <oleg.kalnichevski@bearingpoint.com>
To: "Commons HttpClient Project" <commons-httpclient-dev@jakarta.apache.org>
Sent: Friday, February 20, 2004 11:50 AM
Subject: RE: Httpclient not working



Peter,
The CVS HEAD contains development version of HttpClient (post 2.0
pre-alpha-1) which is incompatible with 2.0 API. Please use the samples
shipped with the release package or check out the stable version (2.0) from
the HTTPCLIENT_2_0_BRANCH

Hope this helps

Oleg

-----Original Message-----
From: Peter Andersén [mailto:peter.andersen@internetborder.se]
Sent: Friday, February 20, 2004 11:43
To: commons-httpclient-dev@jakarta.apache.org
Subject: Httpclient not working


Sorry missed the first on.
So im still new to this.
Why is this example not working
I took the BasicAuthExample from the CVS database
But it stops on this when trying to compiling.
           HttpClient client = new HttpClient();

client.getState().setCredentials("realm","portal.internetborder.se",new
UsernamePasswordCredentials("username", "password"));
         ////// THIS GIVES ME ERROR STATING THAT THIS METHOD DOES NOT EXSIST


Help someone how understand this httpClient !

Regards
Peter



****************************************************************************
***********************
The information in this email is confidential and may be legally privileged.
Access to this email by anyone other than the intended addressee is
unauthorized.  If you are not the intended recipient of this message, any
review, disclosure, copying, distribution, retention, or any action taken or
omitted to be taken in reliance on it is prohibited and may be unlawful.  If
you are not the intended recipient, please reply to or forward a copy of
this message to the sender and delete the message, any attachments, and any
copies thereof from your system.
****************************************************************************
***********************

---------------------------------------------------------------------
To unsubscribe, e-mail:
commons-httpclient-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail:
commons-httpclient-dev-help@jakarta.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: commons-httpclient-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-httpclient-dev-help@jakarta.apache.org


Mime
View raw message