Top "Apache-httpclient-4.x" questions

A Java HTTP client library.

HttpClientBuilder basic auth

Since HttpClient 4.3, I have been using the HttpClientBuilder. I am connecting to a REST service that has basic authentication. I …

java apache basic-authentication apache-httpclient-4.x
HttpClient 4 - how to capture last redirect URL

I have rather simple HttpClient 4 code that calls HttpGet to get HTML output. The HTML returns with scripts and image …

java apache-httpclient-4.x
'org.apache.http.HttpEntity' is deprecated. How to solve this error in android studio?

i'm using android studio API22 and i have these errors: 'org.apache.http.HttpEntity' is deprecated 'org.apache.http.HttpResponse' …

java android apache-httpclient-4.x
org.eclipse.jetty.io.EofException: Early EOF thrown while uploading large file

While I am uploading large file(about 50 MB), I am getting org.eclipse.jetty.io.EofException: Early EOF excception. My …

java jetty apache-httpclient-4.x netflix-zuul
Is there a way to get the String value of an HttpEntity when EntityUtils.toString() returns an exception?

I keep running into this situation where I get back a bad HTTP response (like a 400) but cannot look at …

java apache-httpclient-4.x apache-httpcomponents
HttpEntity is deprecated on Android now, what's the alternative?

With the release of Android 5.1, it looks like all the Apache http stuff has been deprecated. Looking at the documentation …

android httpurlconnection apache-httpclient-4.x
How to prevent apache http client from following a redirect

I'm connecting to a remote server with apache http client. the remote server sends a redirect, and i want to …

java apache-httpclient-4.x
How deserialize JSON object from HttpResponse using Jackson annotations?

I'm using the Apache http classes to call a web service that returns a JSON object in the response body. …

java json jackson apache-httpclient-4.x
Premature end of Content-Length delimited message body (expected:

I am trying to get HTTP response with the help of apache httpclient. I get headers successfully but it throws …

java apache-httpclient-4.x