Top "Httpclient" questions

DO NOT USE - Use [apache-commons-httpclient], [apache-httpclient-4.x], [java-http-client], [dotnet-httpclient] or [angular-httpclient]

Android: How get the status-code of an HttpClient request

I want to download a file and need to check the response status code (ie HTTP /1.1 200 OK). This is a …

android httpclient httprequest http-status-codes
How do I manage cookies with HttpClient in Android and/or Java?

I am trying to login to a site and maintain that session/cookie so that the server will recognize my …

java android cookies httpclient
java.net.SocketException: No buffer space available (maximum connections reached?): connect

Hi I am using Apache HTTP Client 4.0 to upload some files on a server based on HTTPS protocol. The uploaded …

java sockets connection httpclient socketexception
HttpClient in java

I want to use a simple HttpClient. However, it appears sun.net.www.http.HttpClient is inaccessible. Also, com.ibm.…

java http httpclient
What exactly is an HTTP Entity?

Would someone please describe to me what exactly an HTTP entity is? I am reading the HTTPClient documentation, but I …

http httpclient
How do I add query parameters to a GetMethod (using Java commons-httpclient)?

Using Apache's commons-httpclient for Java, what's the best way to add query parameters to a GetMethod instance? If I'm using …

java httpclient getmethod
Download file with WebClient or HttpClient?

I am trying to download file from a URL and I have to choose between WebClient and HttpClient. I have …

c# .net rest httpclient webclient
How to get an specific header value from the HttpResponseMessage

I'm making an HTTP call. My response contains a session code X-BB-SESSION in the header section of the HttpResponseMessage object. …

c# windows-phone-8 httpclient httpresponse baasbox
Exception using HttpRequest.execute(): Invalid use of SingleClientConnManager: connection still allocated

I'm using google-api-client-java 1.2.1-alpha to execute a POST request, and am getting the following stacktrace when I execute() the HttpRequest. …

java httpclient google-api-java-client
Post an empty body to REST API via HttpClient

The API I'm trying to call requires that I do a POST but with an empty body. I'm new to …

c# httpclient wcf-web-api