Top "Apache-httpcomponents" questions

A Java library for interacting with HTTP services.

What is wrong with this POST request implementation?

I have been working around Google OAuth 2.0 with java and got struck with some unknown error during implementation. The following …

java post apache-httpcomponents google-oauth
compiling error on org.apache.http

i have build an app to insert a record but it give error on compiling kindly help me my jasonparser …

java android apache-httpcomponents
Using Proxy with HttpComponentsClientHttpRequestFactory and RestTemplate

Can some one guide me how can I configure HttpComponentsClientHttpRequestFactory to use proxy server. All examples I have seen are …

spring resttemplate apache-httpcomponents proxyselector
maven dependency pulling a wrong dependency

I have a dependency as follows: <dependency> <groupId>org.apache.httpcomponents</groupId> <artifactId&…

java maven dependencies apache-httpcomponents
Apache HttpClient response content length returns -1

Why does the following Code returns -1? Seems that the request failed. public static void main(String[] args) { DefaultHttpClient httpClient = …

java http apache-httpcomponents
Apache HttpCore, simple server to echo received post data

Using the ElementalHttpServer example class found here: https://hc.apache.org/httpcomponents-core-4.3.x/httpcore/examples/org/apache/http/examples/ElementalHttpServer.…

java http post apache-httpcomponents
Problems including Apache HttpComponents in Android Gradle project

I try to include httpmime in my application using the build.gradle file, and everything compiles fine. Instead, when the …

java android apache-httpcomponents build.gradle android-gradle-plugin
"ConnectionPoolTimeoutException" when iterating objects in S3

I've been working for some time with aws java API with not so many problems. Currently I'm using the library 1.5.2 …

java amazon-web-services amazon-s3 apache-httpcomponents
HttpComponents PoolingHttpClientConnectionManager maxPerRoute and maxTotal?

Can someone please explain to me what setMaxPerRoute(max) and setMaxTotal(max) do in reference to HttpComponents PoolingHttpClientConnectionManager?

java multithreading apache-httpcomponents
java httprequest getting the body from the request

I receive a post request from client. This request contains some json data which I want to part on the …

java httprequest apache-httpcomponents