Top "Apache-httpcomponents" questions

A Java library for interacting with HTTP services.

Java - DefaultHttpClient and "Host" header [Apache HttpComponent]

I'm submitting multiple HTTP Requests via a DefaultHttpClient. The problem is that the "Host" header is never set in the …

java header httprequest host apache-httpcomponents
How to use a custom socketfactory in Apache HttpComponents

I have been trying to use a custom SocketFactory in the httpclient library from the Apache HTTPComponents project. So far …

java apache-httpclient-4.x apache-httpcomponents socketfactory
java.lang.ClassNotFoundException: org.apache.http.config.RegistryBuilder

HI I'm running selenium with spring and cglib. I get this error: java.lang.ClassNotFoundException: org.apache.http.config.RegistryBuilder …

java apache-httpcomponents
Spring configurable, high performance, metered http client instances

Coming from DropWizard I am used to its HttpClientConfiguration and I am baffled that in Spring Boot I cannot find …

spring configuration spring-boot dropwizard apache-httpcomponents
Java- apache http client- usage examples showing use of cookies and extracting response from HTTPResponse object

I am working with apache http client (v4) in a java web app, and I am stuck in the following …

java apache-httpcomponents
What is the right way to sign POST requests with OAuth-Signpost and Apache HttpComponents?

I'm currently using the OAuth-Signpost Java library to sign requests sent from a client to a server which implements OAuth …

java oauth http-post apache-httpcomponents signpost
how do i create and post a multipart/mixed http request using Apache HttpComponentst?

I am using Apache HttpComponents v4.3.3 (maven httpclient and httpmime). I need to upload a file with some metadata. The …

java curl http-post apache-httpcomponents
How do I add Content-Length header to HttpPost within Apache HttpComponents?

I have a server which expects Content-Length as a part of POST header. For POSTing, I am using Apache HttpComponents …

java http-post apache-httpcomponents content-length
How to use apache http on Android P

When I run my app in Android P devices, I get some error like this: java.lang.RuntimeException: Unable to …

java android apache-httpcomponents
HttpComponents Custom SSLSocketFactory

Per the example at http://hc.apache.org/httpcomponents-client-ga/httpclient/examples/org/apache/http/examples/client/ClientCustomSSL.java SSLSocketFactory socketFactory = …

ssl keystore apache-httpcomponents