java - Could not find HttpResponse in httpclient 4.3.3 -


I try to implement a simple http program which sends the request and receives the response from the given URL. For this, I use httpclient 4.3. Jarars add to my project as an external library. But the problem is, I could not get the HTTPRPS pension in the jar file. And I also want to handle NTLM authentication in this application. Please help me

Sample code:

  HTTP client client = http clientbilder.credit (). Build (); HTTPGet Request = New HTTP Gate ("https://www.google.com/?q=java"); {Try HttpResponse response = client.execute (request); Println (response.getStatusLine ()); } Hold (exception e) {e.printStackTrace (); }  

screenshot


Comments

Popular posts from this blog

python - Writing Greek in matplotlib labels, titles -

c# - LINQ to Entities does not recognize the method 'Int32 IndexOf(System.String, System.StringComparison)' method -

Pygame memory leak with transform.flip -