Top "Apache-httpclient-4.x" questions

A Java HTTP client library.

Creating a UrlEncodedFormEntity from a List of NameValuePairs throws a NullPointerException

I'm creating a unit test to try out the servlet I just created. @Test public void test() throws ParseException, IOException { …

java post apache-httpclient-4.x
Connection and connection request timeout

I am using Http Apache Components to perform the http interactions. I need to adjust my http client. For this …

java http apache-httpclient-4.x apache-httpcomponents
REST call using ApacheHttpClient with data and headers

I need to integrate Kii MbaaS services in one of my web application apart from the Mobile apps. I was …

java rest apache-httpclient-4.x rest-client kiicloud
How to stream response body with apache HttpClient

There's an api I need to perform octet-streaming from which does not have a length. It is just a stream …

java httpclient apache-httpclient-4.x apache-commons-httpclient
Does Apache Commons HttpClient support GZIP?

Does the library Apache Commons HttpClient support Gzip? We wanted to use enable gzip compression on our Apache server to …

java gzip apache-commons apache-httpclient-4.x apache-commons-httpclient
Apache Camel Http and SSL

I have been trying to get a 2-way ssl/https proxy working with Camel. I have been able to set …

java ssl jetty apache-camel apache-httpclient-4.x
How do I replace Deprecated httpClient.getParams() with RequestConfig?

I have inherited the code import org.apache.http.client.HttpClient; ... HttpClient httpclient = createHttpClientOrProxy(); ... private HttpClient createHttpClientOrProxy() { HttpClient httpclient = new …

java proxy apache-httpclient-4.x
HttpClient 4.3.x, fixing deprecated code to use current HttpClient implementations

I had the following code, which still compiles, but they're all deprecated: SSLSocketFactory sslSocketFactory = new SSLSocketFactory(context, SSLSocketFactory.ALLOW_ALL_…

java apache-httpclient-4.x
Getting NoSuchFieldError INSTANCE org/apache/http/message/BasicHeaderValueParser

I'm working on an app on Android. I'm using httpcore 4.3.3. I get this when I try to use ContentType.parse(…

android apache-httpclient-4.x androidhttpclient