Top "Apache-httpclient-4.x" questions

A Java HTTP client library.

How to - Spring IoC and HttpClient 4.3.1 CloseableHttpClient?

I'd like to have Spring IoC configure a CloseableHttpClient object and inject it into my class so that customization of …

java spring apache-httpclient-4.x
How to use Socks 5 proxy with Apache HTTP Client 4?

I'm trying to create app that sends HTTP requests via Apache HC 4 via SOCKS5 proxy. I can not use app-global …

java dns apache-httpclient-4.x socks
Why did the author use EntityUtils.consume(httpEntity);?

I've come across EntityUtils.consume(httpEntity); and I'm not sure what it really does. For example: try { //... some code HttpEntity …

java apache-httpclient-4.x
Parsing JSON from HttpClient request using JSON.org parser

I am trying to parse JSON using a Notes agent, JSON is fetched using Apache HttpClient. Here is the code …

java json parsing xpages apache-httpclient-4.x
Apache HTTPClient SSLPeerUnverifiedException

Using Apache HttpClient 4.2.1. Using code copied from the form based login example http://hc.apache.org/httpcomponents-client-ga/examples.html I …

java ssl apache-httpclient-4.x
Getting java.lang.NoClassDefFoundError while using Google Gson library

I am using Gson library to convert objects to Json and vice versa. I have copied the jars of that …

eclipse classpath gson apache-httpclient-4.x apache-httpcomponents
HttpClient 4.2, Basic Authentication, and AuthScope

I have an application connecting to sites that require basic authentication. The sites are provided at run time and not …

java httpclient apache-httpclient-4.x apache-commons-httpclient
Apache HTTP client 4.3 credentials per request

I have been having a look to a digest authentication example at: http://hc.apache.org/httpcomponents-client-4.3.x/examples.html …

http credentials apache-httpclient-4.x digest apache-httpcomponents
Why the user agent is sent as "Apache-HttpClient/UNAVAILABLE (java 1.4)”

A sample mobile application sends POST requests to a HTTP server which we use to process information sent from the …

android user-agent apache-httpclient-4.x inappbrowser