Top "Apache-httpclient-4.x" questions

A Java HTTP client library.

org.apache.http.ProtocolException: Target host is not specified

I have written a simple httprequest/response code and I am getting this below error. I have referenced httpclient, httpcore, …

java httpclient httpresponse apache-httpclient-4.x
Retry java RestTemplate HTTP request if host offline

Hi I'm using the spring RestTemplate for calling a REST API. The API can be very slow or even offline. …

java spring apache-httpclient-4.x resttemplate
How to prevent hangs on SocketInputStream.socketRead0 in Java?

Performing millions of HTTP requests with different Java libraries gives me threads hanged on: java.net.SocketInputStream.socketRead0() Which is …

java sockets http timeout apache-httpclient-4.x
Java http clients and POODLE

Regarding the POODLE vulnerability, if I understand it correctly, it requires a client that automatically downgrades TLS protocol to SSLv3 …

java security https apache-httpclient-4.x poodle-attack
HttpClient.getParams() deprecated. What should I use instead?

I am using apache-httpclient-4.3. I would analyze a http request, in particular the query string parameters, but @Deprecated public HttpParams …

java apache-httpclient-4.x
Apache PoolingHttpClientConnectionManager throwing illegal state exception

Here is how I use it - private static final PoolingHttpClientConnectionManager connPool; static { connPool = new PoolingHttpClientConnectionManager(); // Increase max total connection …

java connection-pooling apache-httpclient-4.x
RestTemplate vs Apache Http Client for production code in spring project

we have a Spring project that is about to go into production. Currently, the project is using Apache Http Client. …

spring spring-boot apache-httpclient-4.x resttemplate
How to handle Cookies with Apache HttpClient 4.3

I need to implement a series of HTTP requests in Java and decided to use Apaches HttpClient in version 4.3 (the …

java apache cookies curl apache-httpclient-4.x
http connection timeout issues

I'm running into an issue when i try to use the HttpClient connecting to a url. The http connection is …

java android timeout apache-httpclient-4.x
How do Jersey-client and Apache HTTP Client compare?

First of all, I'm not trying to start a flame-war here. I know Jersey sufficiently well, but have hardly used …

java apache-httpclient-4.x apache-commons-httpclient jersey-client