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 Httpclient not working
Date Fri, 20 Feb 2004 10:43:18 GMT
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

  
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message