Top "Apache-httpclient-4.x" questions

A Java HTTP client library.

NoSuchFieldError INSTANCE at org.apache.http.impl.io.DefaultHttpRequestWriterFactory

java version "1.7.0_71" Gradle 2.1 Hello, UPDATE: The dependencies gradle dependencies | grep httpcore | +--- org.apache.httpcomponents:httpcore:4.3.3 | +--- org.apache.httpcomponents:…

java gradle apache-httpclient-4.x
HttpClient 4.3.5 ConnectionRequestTimeOut vs ConnectTimeout for HttpConnectionParams.setConnectionTimeout in 4.0.1

I am trying to upgrade our HttpClient Dependency from 4.0.1 to 4.3.5. And was confused on setting the connection timeout in the …

apache-httpclient-4.x
Apache HttpClient GET with body

I am trying to send an HTTP GET with a json object in its body. Is there a way to …

java apache-httpclient-4.x
ClassNotFoundException on org.apache.http.ssl.TrustStrategy

I'm trying to run a plugin that makes HTTP/HTTPS POST requests. On it its declared the needed dependencies, that …

java httpclient apache-httpclient-4.x minecraft bukkit
JSON: "Unexpected character (<) at position 0"

Here's the twitch.tv api request to get channel summary: http://api.justin.tv/api/streams/summary.json?channel=mychannel. …

java json apache-httpclient-4.x json-simple
Cancel an HttpClient request

I am making a simple request for a file using HttpClient from the Apache Commons. Here is my current code: …

java apache-httpclient-4.x
RestTemplate with Basic Auth in Spring 3.1

We were using RestTemplate with xml configuration in Spring 3.0 and it was working perfectly fine. <bean id="httpClient" class="…

java spring restful-authentication resttemplate apache-httpclient-4.x
HttpClient fails with Handshake Failed in Android 5.0 Lollipop

DefaultHttpClient in Android 5.0 Lollipop seems to be broken. It can not set the connection to some sites that were successfully …

android ssl apache-httpclient-4.x android-5.0-lollipop handshake
HttpClient redirecting to URL with spaces throwing exception

I am accessing a URL that's redirecting me to a URL with spaces in it. (Using HttpClient 4.x) How do …

java android redirect apache-httpclient-4.x urlencode
Apache HTTP connection with Android 6.0 (Marshmallow)

Is there is any way to include the Apache library directly in Gradle to make it work with Android 6.0 ? I've …

android android-gradle-plugin apache-httpclient-4.x android-6.0-marshmallow