Best unofficial Apache Server developers community
Username
Forgot password?
Sign in with Twitter account
Sign in with Facebook account
List archives

HttpClient users Recent threads

Threads Replies First post Last post
POST Request How to enable Chunk Size
By: anr
DEBUG org.apache.http.wire - >> "800[\r][\n]" org.apache.http.wire - >> "800[\r][\n]" CoreConnectionPNames.SOCKET_BUFFER_SIZE CoreConnectionPNames.MIN_CHUNK_LIMIT How to change the transfer encoding chunk size when request is…
0 May 24 2012
17:14
May 24 2012
17:14
HttpClient Proxy authentication
By: Gonzalo Pennino
I'm developing an application that uses HttpClient 4.2. The app runs in a Windows 2008 server and I can't connect through the proxy (Squid, not sure about configuration) With this code I can connect and print the stream: …
1 May 23 2012
14:49
May 24 2012
15:19
Httpclient 3.1 - reading the response from a GET request...
By: Michael Burbidge
I think I might have a fundamental misunderstanding about how httpclient works. Suppose I have set up a get request using the following code snippet: GetMethod getMethod = new GetMethod("https://somedownloadurl.com"); …
1 May 23 2012
09:43
May 23 2012
14:56
HttpClient API - upload files using OutputStream not Filepart
By: Emilian Utma
Hello, I want to know if is possible to upload a file which its content is set via a java.io.OutputStream (as in "old times" when using java.net.HttpURLConnection) not org.apache.commons.httpclient.methods.multipart.FilePart.Filepart. I need this…
5 May 21 2012
07:55
May 22 2012
02:30
A non-deprecated ThreadSafeClientConnManager alternative
By: Jason Gionta
Hi, I was wondering if there was an alternative to ThreadSafeClientConnManager that was not deprecated. Thanks, Jason
2 May 19 2012
21:17
May 21 2012
13:15
post json in the body with parameters
By: Mansour Al Akeel
I am trying to post some json data going through this http://wiki.apache.org/solr/UpdateJSON tutorial. As the document shows, the following command should work, curl 'http://localhost:8983/solr/update/json?commit=true' --data-binary @books.json -H…
6 May 21 2012
00:20
May 21 2012
10:54
HttpClient 3.x and JRE 1.7...
By: Michael Burbidge
We are still on HttpClient 3.x. We recently started having problems with random connection close errors while downloading content, use a GET request with HttpClient 3.x. Not much has changed in this code. I realize that at some point we should…
1 May 17 2012
15:15
May 17 2012
15:16
HttpClient 4.1 & Threading
By: Gordon Ross
Using HttpClient 4.1, I'm creating an instance by: client = DefaultHttpClient(new ThreadSafeClientConnManager()); Which gives me a thread-safe environment. But how separate are the thread environments ? If I set headers, cookies, etc. are these…
1 May 17 2012
08:01
May 17 2012
12:42
HttpAsyncClient and OSGI
By: Saglietti Davide
Hello Everybody! This is my first message in this mailing list. I have to use HttpAsyncClient in an OSGI application, but there isn't the package in the download section... how can I do it? Thanks! Davide Saglietti c/o Telecom Italia Lab Via…
1 May 16 2012
06:29
May 17 2012
12:31
HTTP Connection Pool Settings
By: apachehttpdev07
We are using Apache Http Client 4.1.3 in production systems now. I am using a ThreadSafeClientConnection Manager to pool http connections. We have a concurrent user base of 126 users per second hitting 2 JVMs in cluster. What I need to know is…
3 May 7 2012
18:22
May 14 2012
05:05
Migrating from Commons HttpClient (3.x) to HttpComponents Client (4.x)
By: Mugoma Joseph Okomba
Hello, I would like to migrate from HttpClient 3.x to HttpClient 4.x but having difficulty how to handle redirects. The code works properly under Commons HttpClient but breaks when migrated to HttpComponents Client. Some of the links get…
5 May 4 2012
06:29
May 11 2012
12:58
Avoiding HTTP Error 301 when using HttpClient 4.x
By: Mugoma Joseph Okomba
Hello, This relates to http://mail-archives.apache.org/mod_mbox/hc-httpclient-users/201205.mb ox/browser (migrating from HC 3 to HC 4). I can access a link physically in a browser but when I try to access same link using HttpClient 4 I get HTTP…
2 May 5 2012
22:23
May 8 2012
05:35
HTTPClient stops working and produce java.net.ConnectException: Connection timed out exception
By: Eugene Dvorkin
I have a client application that makes http calls to another servers using http client library (httpclient-4.1.3.jar) . Application was deployed to 5 servers and it was working for a while. All those 5 servers are behind load balancer and…
5 May 7 2012
13:43
May 8 2012
02:54
JAXB-Objects as Entity
By: Robert Naczinski
Hello, what is the best way to send JAXB entities with Apache Http Components? We have on the server side REST with Jersey. I can of course marshals the JAXB objects and send them as strings, but this is the best possibility? Regards, Robert …
1 May 4 2012
04:46
May 4 2012
06:30
Question in Timeouts when writing data
By: Daniel Stucky
Hi, the SMILA project uses HttpClient 4.1.2 and is very happy with it. In order to improve system availability and reliability we did some tests on "what happens to the HTTP communication on disconnects" (e.g. a physical disconnect of the network…
1 May 4 2012
02:00
May 4 2012
06:07
handle-redirects with listener
By: Chris Krahe
Perhaps I'm lazy, but I'm wondering if there's a way (or could be a way) to attach a listener to the HttpClient such that all redirects are first passed to the listener before they're submitted. The listener would have the opportunity to inspect…
2 May 3 2012
12:38
May 4 2012
05:51
Support HTTP Patch requests
By: Rossen Stoyanchev
Hi, I did not see any issues referring to this but wanted to ask before opening one. Are there are any plans to add support for HTTP Patch requests? Those have been standardized: http://tools.ietf.org/html/rfc5789 Thanks, Rossen
3 May 2 2012
16:18
May 3 2012
02:35
HttpClient 4.1, NTLM and Webstart
By: Olivier Rossel
Hi everyone. I wish I could use HttpClient 4.1 through a NTLM proxy, in a Webstart environment. May be you can help me clarify a few things about that. I read that HttpClient 4.1 has out-of-the-box support of NTLM (but I am not sure what it…
2 Apr 30 2012
12:01
Apr 30 2012
14:28
Support for HttpClient4 in Axis2 - Implementing HttpEntity
By: Kishanthan Thangarajah
Hi All, We are in the process of supporting httpclient4 in axis2 [1] along with httpclient3 implementation. Since most of the httpclient4 implementations are new from 3, we have some questions on proceeding with it. With httpcleint 3, we used…
4 Apr 22 2012
05:40
Apr 27 2012
02:08
Base64 class
By: Mohit Anchlia
I have this method isBase64(String) from commond-codec component. Problem is that it returns true even if string was encoded with base64. Is there a bug? I am using commons-codec 1.6
2 Apr 24 2012
12:58
Apr 25 2012
13:38